Bug 235351 - [:has() pseudo-class] Compute specificity correctly
Summary: [:has() pseudo-class] Compute specificity correctly
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Antti Koivisto
Keywords: InRadar
Depends on:
Reported: 2022-01-19 02:51 PST by Antti Koivisto
Modified: 2022-01-19 06:55 PST (History)
11 users (show)

See Also:

Patch (4.98 KB, patch)
2022-01-19 02:57 PST, Antti Koivisto
no flags Details | Formatted Diff | Diff
Patch (5.92 KB, patch)
2022-01-19 04:14 PST, Antti Koivisto
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Antti Koivisto 2022-01-19 02:51:09 PST
"The specificity of an ':is()', ':not()', or ':has()' pseudo-class is replaced by the specificity of the most specific complex selector in its selector list argument."

Comment 1 Antti Koivisto 2022-01-19 02:57:23 PST
Created attachment 449470 [details]
Comment 2 Antti Koivisto 2022-01-19 02:57:47 PST
Submitted web-platform-tests pull request: https://github.com/web-platform-tests/wpt/pull/32448
Comment 3 EWS Watchlist 2022-01-19 03:00:16 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
Comment 4 Antti Koivisto 2022-01-19 04:14:02 PST
Created attachment 449472 [details]
Comment 5 EWS 2022-01-19 05:44:42 PST
Committed r288196 (246168@main): <https://commits.webkit.org/246168@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 449472 [details].
Comment 6 Antti Koivisto 2022-01-19 06:55:51 PST