[wpt-sync] Sync PR 13247 - Revert "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 13247 into mozilla-central (this bug is closed when the sync is complete).

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

Demetrios Papadopoulos <dpapad@chromium.org> wrote:
>  Revert "Make :host account for its own pseudo-class specificity."
>  
>  This reverts commit 1ef23c9360a771f0cadb5717262a4bbe0f0e5cdc.
>  
>  Reason for revert: 
>  Caused several styling breakages across WebUI surfaces, see https://bugs.chromium.org/p/chromium/issues/detail?id=890030
>  
>  Original change's description:
>  > 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.
>  > 
>  > Bug: 857415
>  > Change-Id: I0a012ada134acb022dab85c3912b33ac5d0bd1dd
>  > Reviewed-on: https://chromium-review.googlesource.com/1238445
>  > Commit-Queue: Emilio Cobos Álvarez \<emilio@chromium.org>
>  > Reviewed-by: Rune Lillesveen \<futhark@chromium.org>
>  > Cr-Commit-Position: refs/heads/master@{#594745}
>  
>  TBR=emilio@chromium.org,futhark@chromium.org,andruud@chromium.org
>  
>  Change-Id: I98ce78a982a1d71356f18ec60a01e9616d5f9eec
>  No-Presubmit: true
>  No-Tree-Checks: true
>  No-Try: true
>  Bug: 857415
>  Reviewed-on: https://chromium-review.googlesource.com/1250054
>  Reviewed-by: Demetrios Papadopoulos \<dpapad@chromium.org>
>  Commit-Queue: Demetrios Papadopoulos \<dpapad@chromium.org>
>  Cr-Commit-Position: refs/heads/master@{#594888}
>
PR 13247 applied with additional changes from upstream: 1570d3fad74705ad082a6cffbc07dcfef678e3a4
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]
Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/273720035c7a
[wpt PR 13247] - Revert "Make :host account for its own pseudo-class specificity.", a=testonly
Result changes from PR not available.
https://hg.mozilla.org/mozilla-central/rev/273720035c7a
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.