Bug 1494807 [wpt PR 13247] - Revert "Make :host account for its own pseudo-class specificity.", a=testonly
authorDemetrios Papadopoulos <dpapad@chromium.org>
Fri, 05 Oct 2018 14:20:35 +0000
changeset 495784 273720035c7a785b27e30787237f47c2fee3810e
parent 495783 b60b75101fecd0478e558d4d0ebdf60de9a1a356
child 495785 bda73f529c5d3386bc683c08b6fd9d0b35aeb9be
push id9984
push userffxbld-merge
push dateMon, 15 Oct 2018 21:07:35 +0000
treeherdermozilla-beta@183d27ea8570 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstestonly
bugs1494807, 13247, 890030, 857415, 1238445, 594745, 1250054, 594888
milestone64.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1494807 [wpt PR 13247] - Revert "Make :host account for its own pseudo-class specificity.", a=testonly Automatic update from web-platform-testsRevert "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} -- wpt-commits: a6e260769e460e764af9a40a8691b0d31e5d3572 wpt-pr: 13247
testing/web-platform/tests/css/css-scoping/host-specificity-003.html
deleted file mode 100644
--- a/testing/web-platform/tests/css/css-scoping/host-specificity-003.html
+++ /dev/null
@@ -1,26 +0,0 @@
-<!doctype html>
-<meta charset="utf-8">
-<title>CSS Test: the :host() selector affects specificity</title>
-<link rel="author" title="Emilio Cobos Álvarez" href="mailto:emilio@crisal.io">
-<link rel="author" title="Mozilla" href="https://mozilla.org">
-<link rel="help" href="https://drafts.csswg.org/css-scoping/#host-selector">
-<link rel="help" href="https://github.com/w3c/csswg-drafts/issues/1915">
-<link rel="help" href="https://bugzil.la/1454165">
-<link rel="match" href="reference/green-box.html">
-<p>Test passes if you see a single 100px by 100px green box below.</p>
-<div id="host"></div>
-<script>
-  host.attachShadow({ mode: 'open' }).innerHTML = `
-    <style>
-      :host(*) div {
-        width: 100px;
-        height: 100px;
-        background: green;
-      }
-      div {
-        background: red;
-      }
-    </style>
-    <div></div>
-  `;
-</script>