Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1009)

Unified Diff: third_party/WebKit/Source/core/css/RuleFeatureSetTest.cpp

Issue 2843883002: Remove, or rewrite if necessary, tests which use /deep/ or ::shadow (Closed)
Patch Set: rev Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/Source/core/css/ActiveStyleSheetsTest.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/css/RuleFeatureSetTest.cpp
diff --git a/third_party/WebKit/Source/core/css/RuleFeatureSetTest.cpp b/third_party/WebKit/Source/core/css/RuleFeatureSetTest.cpp
index eede973548e40b596e963c3d31f63e62cd74308a..f78029595abd84d9799aff4be42a0b19ad02345c 100644
--- a/third_party/WebKit/Source/core/css/RuleFeatureSetTest.cpp
+++ b/third_party/WebKit/Source/core/css/RuleFeatureSetTest.cpp
@@ -507,30 +507,6 @@ TEST_F(RuleFeatureSetTest, siblingRulesNthAfterContentPseudo) {
ExpectSiblingRuleCount(1);
}
-TEST_F(RuleFeatureSetTest, siblingRulesBeforeDeep) {
- EXPECT_EQ(RuleFeatureSet::kSelectorMayMatch,
- CollectFeatures("a + b /deep/ .c"));
- ExpectSiblingRuleCount(1);
-}
-
-TEST_F(RuleFeatureSetTest, siblingRulesAfterDeep) {
- EXPECT_EQ(RuleFeatureSet::kSelectorMayMatch,
- CollectFeatures(".a /deep/ .b + .c"));
- ExpectSiblingRuleCount(1);
-}
-
-TEST_F(RuleFeatureSetTest, siblingRulesBeforeShadow) {
- EXPECT_EQ(RuleFeatureSet::kSelectorMayMatch,
- CollectFeatures(".a + .b::shadow .c"));
- ExpectSiblingRuleCount(1);
-}
-
-TEST_F(RuleFeatureSetTest, siblingRulesAfterShadow) {
- EXPECT_EQ(RuleFeatureSet::kSelectorMayMatch,
- CollectFeatures(".a ::shadow .b + .c"));
- ExpectSiblingRuleCount(1);
-}
-
TEST_F(RuleFeatureSetTest, siblingRulesBeforeSlotted) {
EXPECT_EQ(RuleFeatureSet::kSelectorMayMatch,
CollectFeatures(".a + ::slotted(.b)"));
« no previous file with comments | « third_party/WebKit/Source/core/css/ActiveStyleSheetsTest.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698