RESOLVED FIXED 234636
[:has() pseudo-class] Support :disabled and :enabled pseudo-class invalidation
https://bugs.webkit.org/show_bug.cgi?id=234636
Summary [:has() pseudo-class] Support :disabled and :enabled pseudo-class invalidation
Antti Koivisto
Reported 2021-12-23 04:21:29 PST
:has(:disabled)
Attachments
Patch (10.49 KB, patch)
2021-12-23 04:30 PST, Antti Koivisto
no flags
Patch (11.47 KB, patch)
2021-12-23 04:32 PST, Antti Koivisto
no flags
Patch (14.02 KB, patch)
2021-12-26 07:56 PST, Antti Koivisto
no flags
Antti Koivisto
Comment 1 2021-12-23 04:30:46 PST
Antti Koivisto
Comment 2 2021-12-23 04:31:07 PST
Submitted web-platform-tests pull request: https://github.com/web-platform-tests/wpt/pull/32182
Antti Koivisto
Comment 3 2021-12-23 04:32:04 PST
EWS Watchlist
Comment 4 2021-12-23 04:32:13 PST
This patch modifies the imported WPT tests. Please ensure that any changes on the tests (not coming from a WPT import) are exported to WPT. Please see https://trac.webkit.org/wiki/WPTExportProcess
Tim Nguyen (:ntim)
Comment 5 2021-12-23 09:25:29 PST
Comment on attachment 447872 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=447872&action=review > Source/WebCore/html/HTMLFormControlElement.cpp:164 > + Style::PseudoClassChangeInvalidation disabledInvalidation(*this, CSSSelector::PseudoClassDisabled); Does this need something similar for `:enabled`? Same here and below
Antti Koivisto
Comment 6 2021-12-26 07:45:23 PST
> Does this need something similar for `:enabled`? Yeah, good point. Sad there are no tests that fail yet for that.
Antti Koivisto
Comment 7 2021-12-26 07:56:33 PST
EWS
Comment 8 2021-12-26 10:46:40 PST
Committed r287445 (245580@main): <https://commits.webkit.org/245580@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 447973 [details].
Radar WebKit Bug Importer
Comment 9 2021-12-26 10:47:16 PST
Tim Nguyen (:ntim)
Comment 10 2023-09-04 21:31:03 PDT
*** Bug 232233 has been marked as a duplicate of this bug. ***
Note You need to log in before you can comment on or make changes to this bug.