-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This approach seems to duplicate and redefine HTML #2
Comments
I will also note this is explicitly counter to the charter of the Miniapps Working Group, which would make this problematic to move there. (From their charter: "The Working Group will not: |
I agree that this work should not redefine HTML. And it should harmonize with the MiniAPP charter. This draft is very early work to present the potential scope of some common UI components for existing MiniApp implementations. It references existing non-standard deployments which will be optimized in subsequent releases. And it requires a lot of discussions to optimize the UI scopes, parameters, events, etc. For the scope of this work please review the explainer( https://github.com/w3c/miniapp-components/blob/main/docs/explainer.md ), and I would like to maximize the reuse of existing HTML standards.
|
+1 to @cwilso's points above. I strongly urge the group (again) to check out work by Open UI, who have done a lot of research on components (e.g., checkboxes) and who have ongoing research (e.g., on tabs), where the MiniApps group's perspectives, feedback, and contributions would be very valuable. |
See also w3c/miniapp-packaging#2 (I also made some markup changes to the original comment without changing the content.) |
Discussions in yesterday's CG meeting: https://www.w3.org/2021/08/19-miniapp-minutes.html#t01 |
I agree with you @cwilso, @tomayac and @MichaelWangzitao. We have been discussing this for a long time (w3c/miniapp-packaging#2 also during TPAC), and we need to resolve it sooner than later. So, I'll share some thoughts here, so all the MiniApp vendors may indicate their preferences. I'd preferably go for the standard way. Analyzing the current list of MiniApp essential elements, we can see a clear overlap between these and the (standard) HTML elements:
Furthermore, as mentioned before, some elements with no equivalent standard (e.g., So, why not use Web Components?
I'm collecting some of the challenges and potential immediate solutions using standards:
MiniApps could have specific profiles of standard HTML, CSS, and DOM to fully align with the current (and upcoming) standards. Are (any of) these ideas feasible? |
A few comments on the above:
|
I know this is relatively early; however, I'm very concerned by the approach taken here. It seems there is overlap and redefinition of the Web platform pieces themselves - as in, subsetting HTML+CSS+JS would be concerning, but this is defining elements like
<image>
all over again, in a way that is close to but not quite "the Web". (For example, the CSS and JS files are, presumably, automatically applied to the HTML file, since there's no mention of<LINK>
,<STYLE>
or<SCRIPT>
support?). It also seems (from the inclusion of a<text>
element) that the flow text model is very different from the normal HTML one as well. (what happens to text outside a<text>
?)I really think this should be defined in terms of custom elements, and default HTML/CSS/JS.
The text was updated successfully, but these errors were encountered: