Repository navigation
Closed
Labels
Description
This was split from #181
Description
This is a bunch of WPTs in the custom-elements directory that are failing. I don’t think they correspond to any particular big feature, they were just made from random one-off bugs.
Rationale
Basic custom elements behavior should be interoperable.
Callbacks
Tests:
- https://wpt.fyi/results/custom-elements/adopted-callback.html
- https://wpt.fyi/results/custom-elements/reactions/Animation.html
- https://wpt.fyi/results/custom-elements/reactions/AriaMixin-element-attributes.html
- https://wpt.fyi/results/custom-elements/reactions/AriaMixin-string-attributes.html
- https://wpt.fyi/results/custom-elements/reactions/Document.html
- https://wpt.fyi/results/custom-elements/reactions/HTMLElement.html
Custom Element Registry
Tests:
- https://wpt.fyi/results/custom-elements/custom-element-registry
- https://wpt.fyi/results/custom-elements/CustomElementRegistry.html
Spec: https://html.spec.whatwg.org/multipage/custom-elements.html#custom-elements-api
Construction
Tests:
- https://wpt.fyi/results/custom-elements/Document-createElement.html
- https://wpt.fyi/results/custom-elements/range-and-constructors.html
- https://wpt.fyi/results/custom-elements/perform-microtask-checkpoint-before-construction.html
- https://wpt.fyi/results/custom-elements/perform-microtask-checkpoint-before-construction-xml-parser.xhtml
- https://wpt.fyi/results/custom-elements/throw-on-dynamic-markup-insertion-counter-construct-xml-parser.xhtml
- https://wpt.fyi/results/custom-elements/throw-on-dynamic-markup-insertion-counter-reactions-xml-parser.xhtml
Spec:
https://html.spec.whatwg.org/multipage/dom.html#html-element-constructors
:defined Pseudo Selector
Tests:
https://wpt.fyi/results/custom-elements/pseudo-class-defined-print.html
Spec: https://html.spec.whatwg.org/multipage/semantics-other.html#selector-defined
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsProposed
Activity
gsnedders commentedon Oct 25, 2022
For the print test, this is missing in Edge and Safari as print tests aren't run, so not related to this.
For the other, all the Safari failures are the lack of
is=(#234), rather than anything about the semantics of:defineditself.gsnedders commentedon Oct 25, 2022
Similarly, the only failures here seem to be Safari due to lack of
is=(#234).josepharhar commentedon Oct 25, 2022
Thanks for looking at those, should I move them to #234 then?
gsnedders commentedon Oct 25, 2022
Probably?
josepharhar commentedon Oct 25, 2022
Ok, I moved pseudo-class-defined.html and custom-elements/parser/ to the other issue.
I kept pseudo-class-defined-print.html here because I don't see anything related to custom builtins, let me know if I missed anything.
hsinyi commentedon Nov 1, 2022
Based on the discussion with @jcsteh , we'd like to exclude https://wpt.fyi/results/custom-elements/reactions/AriaMixin-element-attributes.html i.e. exclude
ARIA idrefattributes.We are interested in keeping https://wpt.fyi/results/custom-elements/reactions/AriaMixin-string-attributes.html
, i.e.
ARIA non-idrefpart in the scope. However, there appear to be open spec issues for this part :w3c/aria#1110
w3c/aria#1239
How likely is it that we can get consensus on the spec issues before the start of the Interop period?
josepharhar commentedon Nov 1, 2022
I am happy to drop AriaMixin-element-attributes.html if needed. I don't have context on those aria issues and I don't know how likely they are to be resolved before the start of the interop period.
gsnedders commentedon Nov 9, 2022
Looking at this again, a lot of the tests seem to be testing things only observable in combination with #234.
e.g.,
The closer I look, the more of these seem to just be customised built-ins (#234).
I think we need to closely review all the failing tests to see how many should just be part of #234, and whether that leaves much left here. Not sure what that means for the proposal v. test review periods, given accepting this and then removing (almost?) everything seems silly.
foolip commentedon Nov 11, 2022
In the MDN short survey on APIs & JavaScript, "Web Components (custom elements, Shadow DOM, etc.)" was the most popular choice by a fairly wide margin, selected by ~39% of survey takers.
Web Components was split into many granular proposals, and the survey results don't tell us which aspects web developers want the most, but it's fair to say that something about Web Components is important. (I'm posting this comment on each of the split proposals.)
josepharhar commentedon Nov 17, 2022
I investigated each test and these are my findings for whether each test relies on custom builtins. Checkmark means no custom builtins, cross means it has custom builtins:
I'll move all the custom builtin ones to the custom builtins proposal.
If you don't think the remaining tests here are enough, then perhaps we could move them to the misc. shadowdom proposal: #230
gsnedders commentedon Nov 19, 2022
I don't think it's necessarily an issue—and we have other very small proposals—but it's something we may well want to deal with somehow through grouping.
And FWIW, I believe these are all of the included tests based on the above list.
nairnandu commentedon Feb 1, 2023
Thank you for proposing Miscellaneous Custom Elements for inclusion in Interop 2023.
We are pleased to let you know that this proposal was accepted as part of the Web Components focus area. You can follow the progress of this Focus Area on the Interop 2023 dashboard.
For an overview of our process, see the proposal selection summary. Thank you for contributing to Interop 2023!
Posted on behalf of the Interop team.