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

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

Issue 14324009: Add support for disabling CSS Properties at runtime (Closed) Base URL: http://src.chromium.org/blink/trunk/Source/
Patch Set: Final patch, ready for review Created 7 years, 8 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
Index: Source/core/css/CSSParser.cpp
diff --git a/Source/core/css/CSSParser.cpp b/Source/core/css/CSSParser.cpp
index 3b269bb78a06a5596f777a6141d1603c7a505767..d5d56731efa5249d14e94d7b6d504cb768303a7f 100644
--- a/Source/core/css/CSSParser.cpp
+++ b/Source/core/css/CSSParser.cpp
@@ -1284,6 +1284,8 @@ bool CSSParser::parseValue(StylePropertySet* declaration, CSSPropertyID property
bool CSSParser::parseValue(StylePropertySet* declaration, CSSPropertyID propertyID, const String& string, bool important, StyleSheetContents* contextStyleSheet)
{
+ // FIXME: This should check RuntimeCSSEnabled::isCSSPropertyEnabled(propertyID).
mitica 2013/04/24 06:24:25 Hopefully I dont' get this wrong, but shouldn't th
+
setStyleSheet(contextStyleSheet);
setupParser("@-internal-value{", string, "} ");

Powered by Google App Engine
This is Rietveld 408576698