зеркало из https://github.com/mozilla/pjs.git
Bug 37622, redux. Case insensitive compare that I meant to check in way back when, but didn't. This was really part of the first patch, but didn't make it in because I checked in from the wrong machine.
This commit is contained in:
Родитель
1e784c78a3
Коммит
57799398c2
|
@ -1051,9 +1051,9 @@ nsObjectFrame::IsHidden() const
|
||||||
// not to hide the <embed> once you'd put the 'hidden' attribute
|
// not to hide the <embed> once you'd put the 'hidden' attribute
|
||||||
// on the tag...
|
// on the tag...
|
||||||
if (hidden.Length() &&
|
if (hidden.Length() &&
|
||||||
hidden != NS_LITERAL_STRING("false") &&
|
! hidden.EqualsIgnoreCase(NS_LITERAL_STRING("false")) &&
|
||||||
hidden != NS_LITERAL_STRING("no") &&
|
! hidden.EqualsIgnoreCase(NS_LITERAL_STRING("no")) &&
|
||||||
hidden != NS_LITERAL_STRING("off")) {
|
! hidden.EqualsIgnoreCase(NS_LITERAL_STRING("off"))) {
|
||||||
// The <embed> or <applet> is hidden.
|
// The <embed> or <applet> is hidden.
|
||||||
return PR_TRUE;
|
return PR_TRUE;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1051,9 +1051,9 @@ nsObjectFrame::IsHidden() const
|
||||||
// not to hide the <embed> once you'd put the 'hidden' attribute
|
// not to hide the <embed> once you'd put the 'hidden' attribute
|
||||||
// on the tag...
|
// on the tag...
|
||||||
if (hidden.Length() &&
|
if (hidden.Length() &&
|
||||||
hidden != NS_LITERAL_STRING("false") &&
|
! hidden.EqualsIgnoreCase(NS_LITERAL_STRING("false")) &&
|
||||||
hidden != NS_LITERAL_STRING("no") &&
|
! hidden.EqualsIgnoreCase(NS_LITERAL_STRING("no")) &&
|
||||||
hidden != NS_LITERAL_STRING("off")) {
|
! hidden.EqualsIgnoreCase(NS_LITERAL_STRING("off"))) {
|
||||||
// The <embed> or <applet> is hidden.
|
// The <embed> or <applet> is hidden.
|
||||||
return PR_TRUE;
|
return PR_TRUE;
|
||||||
}
|
}
|
||||||
|
|
Загрузка…
Ссылка в новой задаче