Implement CustomStateSet
Categories
(Core :: DOM: Core & HTML, enhancement)
Tracking
()
Tracking | Status | |
---|---|---|
firefox121 | --- | fixed |
People
(Reporter: mozilla, Assigned: mozilla)
References
(Blocks 2 open bugs)
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•6 months ago
|
||
Updated•6 months ago
|
Updated•6 months ago
|
Updated•6 months ago
|
Updated•6 months ago
|
Pushed by mozilla@keithcirkel.co.uk: https://hg.mozilla.org/integration/autoland/rev/ae536a17c1ff Add CustomStateSet and :state() pseudo. r=emilio,smaug
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/43022 for changes under testing/web-platform/tests
Comment 4•6 months ago
|
||
bugherder |
Upstream PR merged by moz-wptsync-bot
Comment 6•5 months 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•5 months ago
|
||
FF121 MDN docs work for this can be tracked in https://github.com/mdn/content/issues/30339
Assignee | ||
Comment 8•5 months 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•5 months 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•5 months ago
|
||
I have set dev-doc-complete - the docs are done on the assumption that the comments above are correct.
Assignee | ||
Comment 11•5 months 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•5 months ago
|
||
(To clarify this bug was for CustomStateSet
IDL, but the parent issue #1588763 is still open)
Assignee | ||
Comment 13•5 months 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•4 months ago
|
Updated•3 months ago
|
Description
•