<rdar://problem/9291132> Add support for -epub-prefixed properties
[WebKit-https.git] / Source / WebCore / bindings / js / JSCSSStyleDeclarationCustom.cpp
index 6c9182e..84b59db 100644 (file)
@@ -103,7 +103,8 @@ static String cssPropertyName(const Identifier& propertyName, bool* hadPixelOrPo
             *hadPixelOrPosPrefix = true;
     } else if (hasCSSPropertyNamePrefix(propertyName, "webkit")
             || hasCSSPropertyNamePrefix(propertyName, "khtml")
-            || hasCSSPropertyNamePrefix(propertyName, "apple"))
+            || hasCSSPropertyNamePrefix(propertyName, "apple")
+            || hasCSSPropertyNamePrefix(propertyName, "epub"))
         builder.append('-');
     else {
         if (isASCIIUpper(propertyName.characters()[0]))