| Summary: | [:has() pseudo-class] Support :disabled and :enabled pseudo-class invalidation | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Antti Koivisto <koivisto> | ||||||||
| Component: | CSS | Assignee: | Antti Koivisto <koivisto> | ||||||||
| Status: | RESOLVED FIXED | ||||||||||
| Severity: | Normal | CC: | cdumez, changseok, clopez, esprehn+autocc, ews-watchlist, gyuyoung.kim, mifenton, ntim, simon.fraser, webkit-bug-importer, youennf | ||||||||
| Priority: | P2 | Keywords: | InRadar | ||||||||
| Version: | WebKit Nightly Build | ||||||||||
| Hardware: | Unspecified | ||||||||||
| OS: | Unspecified | ||||||||||
| See Also: | https://github.com/web-platform-tests/wpt/pull/32182 | ||||||||||
| Bug Depends on: | |||||||||||
| Bug Blocks: | 234556 | ||||||||||
| Attachments: |
|
||||||||||
|
Description
Antti Koivisto
2021-12-23 04:21:29 PST
Created attachment 447871 [details]
Patch
Submitted web-platform-tests pull request: https://github.com/web-platform-tests/wpt/pull/32182 Created attachment 447872 [details]
Patch
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 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 > Does this need something similar for `:enabled`?
Yeah, good point. Sad there are no tests that fail yet for that.
Created attachment 447973 [details]
Patch
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]. *** Bug 232233 has been marked as a duplicate of this bug. *** |