зеркало из https://github.com/mozilla/gecko-dev.git
Forgot to make this minor change that jst requested to my fix for bug 135895 (XHTML <style> element not working).
This commit is contained in:
Родитель
ee07c55f61
Коммит
e64baa91ff
|
@ -353,7 +353,7 @@ nsHTMLStyleElement::GetStyleSheetURL(PRBool* aIsInline,
|
||||||
if (*aIsInline) {
|
if (*aIsInline) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (mNodeInfo->NamespaceEquals(kNameSpaceID_HTML)) {
|
if (mNodeInfo->NamespaceEquals(kNameSpaceID_XHTML)) {
|
||||||
// We stopped supporting <style src="..."> for XHTML as it is
|
// We stopped supporting <style src="..."> for XHTML as it is
|
||||||
// non-standard.
|
// non-standard.
|
||||||
*aIsInline = PR_TRUE;
|
*aIsInline = PR_TRUE;
|
||||||
|
|
Загрузка…
Ссылка в новой задаче