Closed Bug 1889109 Opened 5 months ago Closed 2 months ago

@scope Interacts Poorly with Style Sharing

Categories

(Core :: CSS Parsing and Computation, defect)

defect

Tracking

()

RESOLVED FIXED
130 Branch
Tracking Status
firefox130 --- fixed

People

(Reporter: dshin, Assigned: dshin)

References

(Blocks 1 open bug)

Details

Attachments

(7 files)

See attached test case, after bug 1886441. Discovered via cousin-sharing issue in WPT test.
Given a sibling or a cousin, we can't easily determine if one will be affected by a scoped style or not.

Severity: -- → S3

Supplanted by Bug 1876962 making :has a revalidation selector.
Remaining reference was added during Bug 1869771, is still handled
by the revalidation logic (has-style-sharing-007.html stil passes).

Assignee: nobody → dshin
Status: NEW → ASSIGNED

This lets us avoid having to run scope matching for revalidation
for elements that don't match scoped styles.

Depends on D212725

Depends on D212726

Depends on D212727

Depends on D212728

Depends on D212729

Depends on: 1903420
Duplicate of this bug: 1903533
Depends on: 1907393
Pushed by dshin@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/701c95daa818
Part 1 - Get rid of now-unused relative selector flags. r=firefox-style-system-reviewers,emilio
https://hg.mozilla.org/integration/autoland/rev/39fc87365e1d
Part 2 - Mark all elements considering scoped styles. r=firefox-style-system-reviewers,emilio
https://hg.mozilla.org/integration/autoland/rev/429be2a21d43
Part 3 - Add scope revalidation to style sharing. r=firefox-style-system-reviewers,emilio
https://hg.mozilla.org/integration/autoland/rev/35ccb8fc2227
Part 4 - Pull out mapping from "unique" selector attribute mappings. r=firefox-style-system-reviewers,emilio
https://hg.mozilla.org/integration/autoland/rev/625bf36ec294
Part 5 - Add scope subject map and use it to early-reject elements that can't be scopes. r=firefox-style-system-reviewers,emilio
https://hg.mozilla.org/integration/autoland/rev/d11ecdd691e5
Part 6 - Skip style sharing revalidation for trivial styles. r=firefox-style-system-reviewers,emilio
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/47138 for changes under testing/web-platform/tests
Upstream PR merged by moz-wptsync-bot
Duplicate of this bug: @scope
No longer duplicate of this bug: @scope
Duplicate of this bug: 1886317
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: