Index: third_party/WebKit/LayoutTests/fast/dom/shadow/querySelector-with-shadow-all-and-shadow-deep.html |
diff --git a/third_party/WebKit/LayoutTests/fast/dom/shadow/querySelector-with-shadow-all-and-shadow-deep.html b/third_party/WebKit/LayoutTests/fast/dom/shadow/querySelector-with-shadow-all-and-shadow-deep.html |
index a5e8eaa1e63c758dbfe6a6b2cf5835e6ebbc436a..970b538b2ebdd8df0255c0c1ed022de0f609ba55 100644 |
--- a/third_party/WebKit/LayoutTests/fast/dom/shadow/querySelector-with-shadow-all-and-shadow-deep.html |
+++ b/third_party/WebKit/LayoutTests/fast/dom/shadow/querySelector-with-shadow-all-and-shadow-deep.html |
@@ -29,6 +29,8 @@ shouldBe('document.querySelectorAll("#foo-host /deep/ span")[2].id', '"nested"') |
shouldBe('document.querySelectorAll("#foo-host /deep/ span")[3].id', '"inner-host"'); |
shouldBe('document.querySelectorAll("#foo-host /deep/ span")[4].id', '"outer-host"'); |
+shouldBe('document.querySelector("::before, #foo-host /deep/ span").id', '"not-top"'); |
+ |
// FIXME: after making "*" in shadow tree not to match shadow host, rebaseline. |
var fooShadowRoot = getNodeInTreeOfTrees('foo-host/'); |
shouldBe('fooShadowRoot.querySelectorAll("*::shadow span").length', '1'); |