Index: Source/core/css/StylePropertySerializer.cpp |
diff --git a/Source/core/css/StylePropertySerializer.cpp b/Source/core/css/StylePropertySerializer.cpp |
index d59e764ef6661f0c71257e8687ac2cc077ed1ef7..e5098788c458cd9dba198537d6e18f4c7daf2d3c 100644 |
--- a/Source/core/css/StylePropertySerializer.cpp |
+++ b/Source/core/css/StylePropertySerializer.cpp |
@@ -111,9 +111,6 @@ bool StylePropertySerializer::StylePropertySetForSerializer::shouldProcessProper |
// and so on) either. |
if (isShorthandProperty(propertyID) || propertyID == CSSPropertyAll) |
return false; |
- // We should not serialize internal properties. |
- if (isInternalProperty(propertyID)) |
- return false; |
// The all property is a shorthand that resets all CSS properties except |
// direction and unicode-bidi. It only accepts the CSS-wide keywords. |
@@ -203,8 +200,8 @@ String StylePropertySerializer::asText() const |
StylePropertySerializer::PropertyValueForSerializer property = m_propertySet.propertyAt(n); |
CSSPropertyID propertyID = property.id(); |
- // Only enabled or internal properties should be part of the style. |
- ASSERT(CSSPropertyMetadata::isEnabledProperty(propertyID) || isInternalProperty(propertyID)); |
+ // Only enabled properties should be part of the style. |
+ ASSERT(CSSPropertyMetadata::isEnabledProperty(propertyID)); |
CSSPropertyID shorthandPropertyID = CSSPropertyInvalid; |
CSSPropertyID borderFallbackShorthandProperty = CSSPropertyInvalid; |
String value; |