Closed Bug 1674065 Opened 5 years ago Closed 5 years ago

[wpt-sync] Sync PR 26324 - [:is/:where] Add WPT is-specificity-shadow.html

Categories

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

task

Tracking

()

RESOLVED FIXED
84 Branch
Tracking Status
firefox84 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

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

[:is/:where] Add WPT is-specificity-shadow.html

Our specificity calculation for :host() incorrectly uses the
maximum specificity for the selector that matched inside :host().
Since no selector matches in this case, the specificity is zero, and
we end up applying the wrong thing.

Bug: 1143404
Change-Id: Ib3f4d132c36aedeade3fd79d86c960c352eba120
Reviewed-on: https://chromium-review.googlesource.com/2505896
WPT-Export-Revision: 4f672fedca785bbbb14625b616d4683cc0b5ad89

Component: web-platform-tests → CSS Parsing and Computation
Product: Testing → Core

CI Results

Ran 0 Firefox configurations based on mozilla-central, and Firefox, and Chrome on GitHub CI

Total 1 tests and 1 subtests

Status Summary

Firefox

OK : 1
PASS: 1

Chrome

OK : 1
FAIL: 1

Links

GitHub PR Head
GitHub PR Base

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/dae88412ade0 [wpt PR 26324] - [:is/:where] Add WPT is-specificity-shadow.html, a=testonly
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → 84 Branch
You need to log in before you can comment on or make changes to this bug.