Implement CustomStateSet
Categories
(Core :: DOM: Core & HTML, enhancement)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox121 | --- | fixed |
People
(Reporter: keithamus, Assigned: keithamus)
References
(Blocks 1 open bug)
Details
(Keywords: dev-doc-complete)
Attachments
(2 files)
Steps to reproduce:
Tracking issue for https://wicg.github.io/custom-state-pseudo-class/#customstateset
| Assignee | ||
Comment 1•2 years ago
|
||
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Comment 4•2 years ago
|
||
| bugherder | ||
Comment 6•2 years ago
•
|
||
Just tried this in FF Nightly 121.0a1 with the pref enabled. WPT test does not appear to pass - i.e. as you can see the "I should be green/blue" text is not appropriately coloured. Should this work? This is for MDN docs work.
Comment 7•2 years ago
|
||
FF121 MDN docs work for this can be tracked in https://github.com/mdn/content/issues/30339
| Assignee | ||
Comment 8•2 years ago
|
||
Style invalidation still needs some work so changes aren’t always reflected - and is why WPT fails. I’ll be following up with more patches for this.
Comment 9•2 years ago
•
|
||
Thanks @Keith,
I was wondering if you might confirm something for me:
- You can only use this feature with autonomous custom elements (only custom elements that don't derive from built-ins). I tried doing a built in and got a DOMException as described here: https://github.com/whatwg/html/issues/5166
Comment 10•2 years ago
|
||
I have set dev-doc-complete - the docs are done on the assumption that the comments above are correct.
| Assignee | ||
Comment 11•2 years ago
|
||
(In reply to Hamish Willee from comment #9)
Thanks @Keith,
I was wondering if you might confirm something for me:
- You can only use this feature with autonomous custom elements (only custom elements that don't derive from built-ins). I tried doing a built in and got a DOMException as described here: https://github.com/whatwg/html/issues/5166
This is my understanding. I believe the docs are already complete, yes.
There are errors with WPT as work still needs to be done to complete this feature.
| Assignee | ||
Comment 12•2 years ago
|
||
(To clarify this bug was for CustomStateSet IDL, but the parent issue #1588763 is still open)
| Assignee | ||
Comment 13•2 years ago
|
||
I don't know how I set this to reopened but this one should be marked fixed (I can no longer do so)
Updated•2 years ago
|
Updated•2 years ago
|
Description
•