mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-13 10:25:01 +00:00
Fix for bug #97387: WRMB:iframe with frameborder="no" does not work
Call ParseFrameborderValue() with value returned from InNavQuirksMode(), instead of hardcoded PR_TRUE. r=karnaze@netscape.com sr=attinasi@netscape.com
This commit is contained in:
parent
b3a71b6595
commit
4e70e30516
@ -226,7 +226,7 @@ nsHTMLIFrameElement::StringToAttribute(nsIAtom* aAttribute,
|
||||
}
|
||||
}
|
||||
else if (aAttribute == nsHTMLAtoms::frameborder) {
|
||||
if (ParseFrameborderValue(PR_TRUE, aValue, aResult)) {
|
||||
if (ParseFrameborderValue(!InNavQuirksMode(mDocument), aValue, aResult)) {
|
||||
return NS_CONTENT_ATTR_HAS_VALUE;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user