Bug 1286321 - always ignore language attribute when processing script element if type attribute is defined. r=bz
MozReview-Commit-ID: AQV9mkYzLL2
This commit is contained in:
@@ -244,10 +244,10 @@ HTMLScriptElement::SetInnerHTML(const nsAString& aInnerHTML,
|
||||
// variation of this code in nsSVGScriptElement - check if changes
|
||||
// need to be transfered when modifying
|
||||
|
||||
void
|
||||
bool
|
||||
HTMLScriptElement::GetScriptType(nsAString& type)
|
||||
{
|
||||
GetType(type);
|
||||
return GetAttr(kNameSpaceID_None, nsGkAtoms::type, type);
|
||||
}
|
||||
|
||||
void
|
||||
|
||||
Reference in New Issue
Block a user