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

Unified Diff: Source/core/css/RuleSetTest.cpp

Issue 187353003: Implement /content/ combinator. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Patch for landing Created 6 years, 9 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 | « Source/core/css/CSSSelectorTest.cpp ('k') | Source/core/css/SelectorChecker.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/RuleSetTest.cpp
diff --git a/Source/core/css/RuleSetTest.cpp b/Source/core/css/RuleSetTest.cpp
index 8fd5ec63bba8c0099d2801132daea9591b8bb07d..622ab24c14b3127dad539f6ff8a601c6c2d8f301 100644
--- a/Source/core/css/RuleSetTest.cpp
+++ b/Source/core/css/RuleSetTest.cpp
@@ -123,17 +123,4 @@ TEST(RuleSetTest, findBestRuleSetAndAdd_TagThenAttrThenId)
ASSERT_EQ(tagStr, rules->at(0).selector().tagQName().localName());
}
-TEST(RuleSetTest, findBestRuleSetAndAdd_DivWithContent)
-{
- CSSTestHelper helper;
-
- helper.addCSSRules("div::content { }");
- RuleSet& ruleSet = helper.ruleSet();
- AtomicString str("div");
- const TerminatedArray<RuleData>* rules = ruleSet.tagRules(str);
- ASSERT_EQ(1u, rules->size());
- AtomicString valueStr("content");
- ASSERT_EQ(valueStr, rules->at(0).selector().value());
-}
-
} // namespace WebCore
« no previous file with comments | « Source/core/css/CSSSelectorTest.cpp ('k') | Source/core/css/SelectorChecker.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698