Closed Bug 1639533 Opened 3 months ago Closed 3 months ago

Fix invalid assumption in invalidation after bug 1632647

Categories

(Core :: CSS Parsing and Computation, defect)

defect

Tracking

()

RESOLVED FIXED
mozilla78
Tracking Status
firefox78 --- fixed

People

(Reporter: emilio, Assigned: emilio)

References

Details

Attachments

(2 files)

Bug 1632647 allows us to do stuff like: ::-moz-range-thumb:is(:hover), and that trips one assumption during invalidation.

Blocks: 1632647, is-where

After bug 1632647, we can have pseudo-classes inside :not / :is /
:where, which the invalidation and matching code weren't handling.

Add a few tests for this stuff working as expected.

This is a missing check I should've introduced in bug 1632647.

Pushed by ealvarez@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/7b87e7b47c38
Fix a case where we'd allow parsing functional :host incorrectly. r=heycam
https://hg.mozilla.org/integration/autoland/rev/23ddff9da376
Fix a no-longer valid assumption in pseudo-element matching / invalidation code. r=heycam
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/23721 for changes under testing/web-platform/tests
Upstream web-platform-tests status checks passed, PR will merge once commit reaches central.
Status: NEW → RESOLVED
Closed: 3 months ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla78
Upstream PR merged by moz-wptsync-bot
You need to log in before you can comment on or make changes to this bug.