mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-25 20:01:50 +00:00
bug #68955 (r=vidur, sr=jst, a=choffman) This patch prevents the short-circuit optimization of the image src attribute
This commit is contained in:
parent
80e24a55d5
commit
733367d8b8
@ -499,6 +499,10 @@ nsHTMLImageElement::StringToAttribute(nsIAtom* aAttribute,
|
||||
aResult.SetEmptyValue();
|
||||
return NS_CONTENT_ATTR_HAS_VALUE;
|
||||
}
|
||||
else if (aAttribute == nsHTMLAtoms::src) {
|
||||
aResult.SetStringValue(aValue);
|
||||
return NS_CONTENT_ATTR_HAS_VALUE;
|
||||
}
|
||||
else if (ParseImageAttribute(aAttribute, aValue, aResult)) {
|
||||
return NS_CONTENT_ATTR_HAS_VALUE;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user