summaryrefslogtreecommitdiffstats
path: root/WebCore/html/HTMLDivElement.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/html/HTMLDivElement.cpp')
-rw-r--r--WebCore/html/HTMLDivElement.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/WebCore/html/HTMLDivElement.cpp b/WebCore/html/HTMLDivElement.cpp
index 0951de8..3aab91b 100644
--- a/WebCore/html/HTMLDivElement.cpp
+++ b/WebCore/html/HTMLDivElement.cpp
@@ -55,13 +55,13 @@ void HTMLDivElement::parseMappedAttribute(MappedAttribute *attr)
if (attr->name() == alignAttr) {
String v = attr->value();
if (equalIgnoringCase(attr->value(), "middle") || equalIgnoringCase(attr->value(), "center"))
- addCSSProperty(attr, CSS_PROP_TEXT_ALIGN, CSS_VAL__WEBKIT_CENTER);
+ addCSSProperty(attr, CSSPropertyTextAlign, CSSValueWebkitCenter);
else if (equalIgnoringCase(attr->value(), "left"))
- addCSSProperty(attr, CSS_PROP_TEXT_ALIGN, CSS_VAL__WEBKIT_LEFT);
+ addCSSProperty(attr, CSSPropertyTextAlign, CSSValueWebkitLeft);
else if (equalIgnoringCase(attr->value(), "right"))
- addCSSProperty(attr, CSS_PROP_TEXT_ALIGN, CSS_VAL__WEBKIT_RIGHT);
+ addCSSProperty(attr, CSSPropertyTextAlign, CSSValueWebkitRight);
else
- addCSSProperty(attr, CSS_PROP_TEXT_ALIGN, v);
+ addCSSProperty(attr, CSSPropertyTextAlign, v);
} else
HTMLElement::parseMappedAttribute(attr);
}