Closed Bug 1855994 Opened 9 months ago Closed 9 months ago

parse-has-disallow-nesting-has-inside-has.html is wrong

Categories

(Core :: CSS Parsing and Computation, task)

task

Tracking

()

RESOLVED FIXED
120 Branch
Tracking Status
firefox120 --- fixed

People

(Reporter: emilio, Assigned: emilio)

References

Details

Attachments

(1 file)

No description provided.
Blocks: has-pseudo

The spec is pretty clear:

The :has() pseudo-class cannot be nested; :has() is not valid within
:has().

There is nothing about that restriction not propagating to
:is()/:where(). This matches Chrome and our implementation too.

Attachment #9355862 - Attachment description: Bug 1855994 - Fix parse-has-disallow-nesting-has-inside-has. r=#style,#layout → Bug 1855994 - Fix some :has() pseudo-element parsing tests. r=#style,#layout
Pushed by ealvarez@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/943079383c1b
Fix some :has() pseudo-element parsing tests. r=dshin
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/42250 for changes under testing/web-platform/tests
Status: NEW → RESOLVED
Closed: 9 months ago
Resolution: --- → FIXED
Target Milestone: --- → 120 Branch
Upstream PR merged by moz-wptsync-bot
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: