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

Unified Diff: sky/engine/core/css/parser/CSSPropertyParser.cpp

Issue 871383002: Merge HTMLDocument into Document (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 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 | « sky/engine/core/css/parser/CSSParserMode.h ('k') | sky/engine/core/dom/Document.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/css/parser/CSSPropertyParser.cpp
diff --git a/sky/engine/core/css/parser/CSSPropertyParser.cpp b/sky/engine/core/css/parser/CSSPropertyParser.cpp
index ae8527eec70af18cc783c48c38e6065530f796ee..bf5963cf3ffcd12624c69296a18e5f1846e14f2d 100644
--- a/sky/engine/core/css/parser/CSSPropertyParser.cpp
+++ b/sky/engine/core/css/parser/CSSPropertyParser.cpp
@@ -1809,9 +1809,6 @@ PassRefPtr<CSSValue> CSSPropertyParser::parseAttr(CSSParserValueList* args)
if (attrName[0] == '-')
return nullptr;
- if (m_context.isHTMLDocument())
- attrName = attrName.lower();
-
return cssValuePool().createValue(attrName, CSSPrimitiveValue::CSS_ATTR);
}
« no previous file with comments | « sky/engine/core/css/parser/CSSParserMode.h ('k') | sky/engine/core/dom/Document.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698