summaryrefslogtreecommitdiffstats
path: root/WebCore/wml/WMLElement.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/wml/WMLElement.cpp')
-rw-r--r--WebCore/wml/WMLElement.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/WebCore/wml/WMLElement.cpp b/WebCore/wml/WMLElement.cpp
index dbe55a9..f359236 100644
--- a/WebCore/wml/WMLElement.cpp
+++ b/WebCore/wml/WMLElement.cpp
@@ -60,7 +60,7 @@ bool WMLElement::mapToEntry(const QualifiedName& attrName, MappedAttributeEntry&
void WMLElement::parseMappedAttribute(Attribute* attr)
{
- if (attr->name() == idAttributeName()
+ if (isIdAttributeName(attr->name())
|| attr->name() == HTMLNames::classAttr
|| attr->name() == HTMLNames::styleAttr)
return StyledElement::parseMappedAttribute(attr);