Index: Source/core/css/RuleSet.cpp |
diff --git a/Source/core/css/RuleSet.cpp b/Source/core/css/RuleSet.cpp |
index cf5df1c6f080ee5abb4343ab57aeeb2cd415ec47..3014335fba7133889a806ecff36c7762f6fd323a 100644 |
--- a/Source/core/css/RuleSet.cpp |
+++ b/Source/core/css/RuleSet.cpp |
@@ -208,6 +208,8 @@ bool RuleSet::findBestRuleSetAndAdd(const CSSSelector& component, RuleData& rule |
if (!tagName.isEmpty()) { |
addToRuleSet(tagName, ensurePendingRules()->tagRules, ruleData); |
+ if (component.tagIsCamelCase()) |
+ addToRuleSet(tagName.lower(), ensurePendingRules()->tagRules, ruleData); |
return true; |
} |