Index: Source/WebKit/chromium/src/DOMUtilitiesPrivate.cpp |
diff --git a/Source/WebKit/chromium/src/DOMUtilitiesPrivate.cpp b/Source/WebKit/chromium/src/DOMUtilitiesPrivate.cpp |
index 2da0d1c16ba1eb697866612bc48d6a17a985bd22..2e8c3f4b7f17bf341e8dc3f0b92147496d6a4811 100644 |
--- a/Source/WebKit/chromium/src/DOMUtilitiesPrivate.cpp |
+++ b/Source/WebKit/chromium/src/DOMUtilitiesPrivate.cpp |
@@ -46,7 +46,7 @@ bool elementHasLegalLinkAttribute(const Element* element, const QualifiedName& a |
if (attrName == srcAttr) |
return element->hasTagName(imgTag) || element->hasTagName(scriptTag) || element->hasTagName(iframeTag) || element->hasTagName(frameTag) || (element->hasTagName(inputTag) && toHTMLInputElement(element)->isImageButton()); |
if (attrName == hrefAttr) |
- return element->hasTagName(linkTag) || element->hasTagName(aTag) || isHTMLAreaElement(element); |
+ return element->hasTagName(linkTag) || isHTMLAnchorElement(element) || isHTMLAreaElement(element); |
if (attrName == actionAttr) |
return element->hasTagName(formTag); |
if (attrName == backgroundAttr) |