| Index: Source/core/html/HTMLImageElement.cpp
|
| diff --git a/Source/core/html/HTMLImageElement.cpp b/Source/core/html/HTMLImageElement.cpp
|
| index df1902ac54168312bee68bd634cf1e6044b0db1e..ed21fcdbfc344cb680ea0e2261e749d2d080506b 100644
|
| --- a/Source/core/html/HTMLImageElement.cpp
|
| +++ b/Source/core/html/HTMLImageElement.cpp
|
| @@ -322,6 +322,11 @@ bool HTMLImageElement::isURLAttribute(const Attribute& attribute) const
|
| || HTMLElement::isURLAttribute(attribute);
|
| }
|
|
|
| +bool HTMLImageElement::hasLegalLinkAttribute(const QualifiedName& name) const
|
| +{
|
| + return name == srcAttr || HTMLElement::hasLegalLinkAttribute(name);
|
| +}
|
| +
|
| const AtomicString& HTMLImageElement::alt() const
|
| {
|
| return fastGetAttribute(altAttr);
|
|
|