Closed
Bug 1843103
Opened 2 years ago
Closed 2 years ago
`:has` cousin style sharing avoidance is too strict
Categories
(Core :: CSS Parsing and Computation, defect)
Core
CSS Parsing and Computation
Tracking
()
RESOLVED
FIXED
117 Branch
Tracking | Status | |
---|---|---|
firefox117 | --- | fixed |
People
(Reporter: dshin, Assigned: dshin)
References
Details
Attachments
(1 file)
Previous code rejected cousin sharing for non-rightmost :has()
too strictly, by outright refusing to insert it to style sharing cache, as we do with rightmost :has()
styles.
Assignee | ||
Updated•2 years ago
|
Severity: -- → S3
Assignee | ||
Updated•2 years ago
|
Blocks: has-pseudo, 1792501
Assignee | ||
Comment 1•2 years ago
|
||
Previous code actually could not distinguish when :has()
is on the rightmost
side or not. This caused every candidate containing any :has()
selector to be
outright refused from being inserted into style sharing cache.
Updated•2 years ago
|
Assignee: nobody → dshin
Status: NEW → ASSIGNED
Pushed by dshin@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/e37baab57b13
Proper cousin style sharing for non-rightmost `:has()` selectors. r=emilio
Comment 3•2 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
status-firefox117:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 117 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•