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

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

Issue 1153223004: ASSERTION FAILED: CSSPropertyMetadata::isEnabledProperty(propertyID) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Updating testcase Created 5 years, 7 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 | « LayoutTests/fast/css/crash-on-csstext-expected.txt ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/CSSProperty.cpp
diff --git a/Source/core/css/CSSProperty.cpp b/Source/core/css/CSSProperty.cpp
index f3b0764090e1e9756685fbb2425e3afd4f81e4fc..bed5ff87ceff9310c414a3b1db30b3c727964036 100644
--- a/Source/core/css/CSSProperty.cpp
+++ b/Source/core/css/CSSProperty.cpp
@@ -253,6 +253,9 @@ bool CSSProperty::isAffectedByAllProperty(CSSPropertyID propertyID)
if (propertyID == CSSPropertyAll)
return false;
+ if (!CSSPropertyMetadata::isEnabledProperty(propertyID))
+ return false;
+
// all shorthand spec says:
// The all property is a shorthand that resets all CSS properties except
// direction and unicode-bidi. It only accepts the CSS-wide keywords.
« no previous file with comments | « LayoutTests/fast/css/crash-on-csstext-expected.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698