Index: Source/core/html/HTMLScriptElement.cpp |
diff --git a/Source/core/html/HTMLScriptElement.cpp b/Source/core/html/HTMLScriptElement.cpp |
index 50afbd1463d6b7201c4c8a92c75ec7dba101c05b..4979f9e0612282461d384eed1b842c5e7bde0428 100644 |
--- a/Source/core/html/HTMLScriptElement.cpp |
+++ b/Source/core/html/HTMLScriptElement.cpp |
@@ -54,6 +54,11 @@ bool HTMLScriptElement::isURLAttribute(const Attribute& attribute) const |
return attribute.name() == srcAttr || HTMLElement::isURLAttribute(attribute); |
} |
+bool HTMLScriptElement::hasLegalLinkAttribute(const QualifiedName& name) const |
+{ |
+ return name == srcAttr || HTMLElement::hasLegalLinkAttribute(name); |
+} |
+ |
void HTMLScriptElement::childrenChanged(bool changedByParser, Node* beforeChange, Node* afterChange, int childCountDelta) |
{ |
HTMLElement::childrenChanged(changedByParser, beforeChange, afterChange, childCountDelta); |