Index: third_party/WebKit/Source/core/dom/StyleEngineTest.cpp |
diff --git a/third_party/WebKit/Source/core/dom/StyleEngineTest.cpp b/third_party/WebKit/Source/core/dom/StyleEngineTest.cpp |
index ae675df021a057ddaae3bc6b3db8e86222b2174a..da6ca9d5d107a85ed355a43256baf4db658dd210 100644 |
--- a/third_party/WebKit/Source/core/dom/StyleEngineTest.cpp |
+++ b/third_party/WebKit/Source/core/dom/StyleEngineTest.cpp |
@@ -331,6 +331,12 @@ |
EXPECT_EQ(ScheduleInvalidationsForRules( |
*shadow_root, ".a ::content span { background: green}"), |
kRuleSetInvalidationFullRecalc); |
+ EXPECT_EQ(ScheduleInvalidationsForRules( |
+ *shadow_root, ".a /deep/ span { background: green}"), |
+ kRuleSetInvalidationFullRecalc); |
+ EXPECT_EQ(ScheduleInvalidationsForRules( |
+ *shadow_root, ".a::shadow span { background: green}"), |
+ kRuleSetInvalidationFullRecalc); |
} |
TEST_F(StyleEngineTest, HasViewportDependentMediaQueries) { |