зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
b3a71b6595
Коммит
4e70e30516
|
@ -226,7 +226,7 @@ nsHTMLIFrameElement::StringToAttribute(nsIAtom* aAttribute,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (aAttribute == nsHTMLAtoms::frameborder) {
|
else if (aAttribute == nsHTMLAtoms::frameborder) {
|
||||||
if (ParseFrameborderValue(PR_TRUE, aValue, aResult)) {
|
if (ParseFrameborderValue(!InNavQuirksMode(mDocument), aValue, aResult)) {
|
||||||
return NS_CONTENT_ATTR_HAS_VALUE;
|
return NS_CONTENT_ATTR_HAS_VALUE;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Загрузка…
Ссылка в новой задаче