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:
waterson%netscape.com 2000-07-27 05:09:40 +00:00
Родитель 1e784c78a3
Коммит 57799398c2
2 изменённых файлов: 6 добавлений и 6 удалений

Просмотреть файл

@ -1051,9 +1051,9 @@ nsObjectFrame::IsHidden() const
// not to hide the <embed> once you'd put the 'hidden' attribute
// on the tag...
if (hidden.Length() &&
hidden != NS_LITERAL_STRING("false") &&
hidden != NS_LITERAL_STRING("no") &&
hidden != NS_LITERAL_STRING("off")) {
! hidden.EqualsIgnoreCase(NS_LITERAL_STRING("false")) &&
! hidden.EqualsIgnoreCase(NS_LITERAL_STRING("no")) &&
! hidden.EqualsIgnoreCase(NS_LITERAL_STRING("off"))) {
// The <embed> or <applet> is hidden.
return PR_TRUE;
}

Просмотреть файл

@ -1051,9 +1051,9 @@ nsObjectFrame::IsHidden() const
// not to hide the <embed> once you'd put the 'hidden' attribute
// on the tag...
if (hidden.Length() &&
hidden != NS_LITERAL_STRING("false") &&
hidden != NS_LITERAL_STRING("no") &&
hidden != NS_LITERAL_STRING("off")) {
! hidden.EqualsIgnoreCase(NS_LITERAL_STRING("false")) &&
! hidden.EqualsIgnoreCase(NS_LITERAL_STRING("no")) &&
! hidden.EqualsIgnoreCase(NS_LITERAL_STRING("off"))) {
// The <embed> or <applet> is hidden.
return PR_TRUE;
}