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

Unified Diff: third_party/WebKit/Source/core/dom/PresentationAttributeStyle.cpp

Issue 2622473002: Replace HTMLAttributeMode with HTMLStandardMode (Closed)
Patch Set: Created 3 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 | « third_party/WebKit/Source/core/css/parser/CSSPropertyParserHelpers.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/dom/PresentationAttributeStyle.cpp
diff --git a/third_party/WebKit/Source/core/dom/PresentationAttributeStyle.cpp b/third_party/WebKit/Source/core/dom/PresentationAttributeStyle.cpp
index a9009bbaefaec5908867b46f6879de12ebfcd2b2..ab70f6598b9e000089e4166b3922f10296254bf4 100644
--- a/third_party/WebKit/Source/core/dom/PresentationAttributeStyle.cpp
+++ b/third_party/WebKit/Source/core/dom/PresentationAttributeStyle.cpp
@@ -192,7 +192,7 @@ StylePropertySet* computePresentationAttributeStyle(Element& element) {
cacheCleaner.didHitPresentationAttributeCache();
} else {
style = MutableStylePropertySet::create(
- element.isSVGElement() ? SVGAttributeMode : HTMLAttributeMode);
+ element.isSVGElement() ? SVGAttributeMode : HTMLStandardMode);
AttributeCollection attributes = element.attributesWithoutUpdate();
for (const Attribute& attr : attributes)
element.collectStyleForPresentationAttribute(
« no previous file with comments | « third_party/WebKit/Source/core/css/parser/CSSPropertyParserHelpers.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698