Index: Source/core/page/RuntimeCSSEnabled.cpp |
diff --git a/Source/core/page/RuntimeCSSEnabled.cpp b/Source/core/page/RuntimeCSSEnabled.cpp |
index fa6a89ae2171fbb7009a4334b59eb7aafbfc75df..593be64e57a18e59a9b20d0a003d167dffd7e0c7 100644 |
--- a/Source/core/page/RuntimeCSSEnabled.cpp |
+++ b/Source/core/page/RuntimeCSSEnabled.cpp |
@@ -119,6 +119,11 @@ size_t indexForProperty(CSSPropertyID propertyId) |
bool RuntimeCSSEnabled::isCSSPropertyEnabled(CSSPropertyID propertyId) |
{ |
+ // Internal properties shouldn't be exposed to the web |
+ // so they are considered to be always disabled. |
+ if (isInternalProperty(propertyId)) |
+ return false; |
+ |
return propertySwitches()[indexForProperty(propertyId)]; |
} |