Closed Bug 1765284 Opened 3 years ago Closed 3 years ago

[wpt-sync] Sync PR 33684 - [@scope] Add specificity from scopes

Categories

(Core :: CSS Parsing and Computation, task, P4)

task

Tracking

()

RESOLVED FIXED
102 Branch
Tracking Status
firefox102 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Anders Hartvoll Ruud <andruud@chromium.org> wrote:

[@scope] Add specificity from scopes

The inner rule has the specificity of that rule, plus the specificity
of the \<scope-start> selector of enclosing @scope.

Pass an |extra_specificity| param to the protected RuleData constructor,
which contains the @scope specificity.

Bug: 1280240
Change-Id: Ie299baf7ea3c35be51d20d34227fd00ba653e00e
Reviewed-on: https://chromium-review.googlesource.com/3582396
WPT-Export-Revision: 49572b115a0334ef9d0dd2db255cf465da8d808b

Component: web-platform-tests → CSS Parsing and Computation
Product: Testing → Core
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/211e8ca0b988 [wpt PR 33684] - [@scope] Add specificity from scopes, a=testonly https://hg.mozilla.org/integration/autoland/rev/bf0a04f8f7a0 [wpt PR 33684] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 102 Branch
You need to log in before you can comment on or make changes to this bug.