Closed Bug 1850768 Opened 1 year ago Closed 1 year ago

[wpt-sync] Sync PR 41716 - Resolve highlight custom properties from the root

Categories

(Core :: Layout: Generated Content, Lists, and Counters, task, P4)

task

Tracking

()

RESOLVED FIXED
119 Branch
Tracking Status
firefox119 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 41716 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/41716
Details from upstream follow.

Stephen Chenney <schenney@chromium.org> wrote:

Resolve highlight custom properties from the root

It was resolved in https://github.com/w3c/csswg-drafts/issues/6641
that CSS Highlight Pseudos shoudl inherit custom properties from
the root element if those properties are not defined in the
highlight inheritance path. Implement that by checking the root
element when a custom variable for the highlight is not found.

Bug: 1412395
Change-Id: I88c22cea6a9eb5f465a5c0dd97444b39b07368a2
Reviewed-on: https://chromium-review.googlesource.com/4827862
WPT-Export-Revision: ef6f9075e33e5543a203740c8c5575dab2b89826

Component: web-platform-tests → Layout: Generated Content, Lists, and Counters
Product: Testing → Core
Test result changes from PR not available.
Test result changes from PR not available.
Test result changes from PR not available.
Test result changes from PR not available.
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/7ef3c02566a1 [wpt PR 41716] - Resolve highlight custom properties from the root, a=testonly
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 119 Branch
You need to log in before you can comment on or make changes to this bug.