OSDN Git Service

Merge WebKit at r71558: Initial merge by git.
[android-x86/external-webkit.git] / WebCore / html / HTMLTableElement.cpp
index fe823ea..f6344d4 100644 (file)
@@ -424,8 +424,8 @@ void HTMLTableElement::parseMappedAttribute(Attribute* attr)
     } else if (attr->name() == alignAttr) {
         if (!attr->value().isEmpty()) {
             if (equalIgnoringCase(attr->value(), "center")) {
-                addCSSProperty(attr, CSSPropertyMarginLeft, CSSValueAuto);
-                addCSSProperty(attr, CSSPropertyMarginRight, CSSValueAuto);
+                addCSSProperty(attr, CSSPropertyWebkitMarginStart, CSSValueAuto);
+                addCSSProperty(attr, CSSPropertyWebkitMarginEnd, CSSValueAuto);
             } else
                 addCSSProperty(attr, CSSPropertyFloat, attr->value());
         }