[wpt-sync] Sync PR 13414 - Make :host account for its own pseudo-class specificity.

RESOLVED FIXED in Firefox 64

Status

()

enhancement
P4
normal
RESOLVED FIXED
10 months ago
9 months ago

People

(Reporter: wptsync, Unassigned)

Tracking

unspecified
mozilla64
Points:
---

Firefox Tracking Flags

(firefox64 fixed)

Details

(Whiteboard: [wptsync downstream], )

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

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

Rune Lillesveen <futhark@chromium.org> wrote:
>  Make :host account for its own pseudo-class specificity.
>  
>  Otherwise `:host div` is equally specific to `div`, which seems
>  undesirable and doesn't match any spec.
>  
>  This is only done for Shadow DOM v1 since there are backward compat
>  issues with Polymer and WebUI.
>  
>  Intent to ship:
>  https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/gYrR2nR6quI
>  
>  Bug: 857415
>  Change-Id: Ieaaf9b835ae7136806ced8f6e72fb30f9adf02af
>  
>  Reviewed-on: https://chromium-review.googlesource.com/1250963
>  WPT-Export-Revision: da5f99d74b82d0ca0d51364ff16c0c262ae3860e
Component: web-platform-tests → CSS Parsing and Computation
Product: Testing → Core
Ran 4 tests
PASS   : 1
FAIL   : 3

New tests that have failures or other problems:
/css/css-scoping/host-context-specificity-001.html: FAIL
/css/css-scoping/host-context-specificity-002.html: FAIL
/css/css-scoping/host-context-specificity-003.html: FAIL
Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/e9ac63863da9
[wpt PR 13414] - Make :host account for its own pseudo-class specificity., a=testonly
https://hg.mozilla.org/integration/mozilla-inbound/rev/a88e4b2e5274
[wpt PR 13414] - Update wpt metadata, a=testonly
https://hg.mozilla.org/mozilla-central/rev/e9ac63863da9
https://hg.mozilla.org/mozilla-central/rev/a88e4b2e5274
Status: NEW → RESOLVED
Closed: 9 months ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla64
You need to log in before you can comment on or make changes to this bug.