Fix Bugzilla Bug 89999 [XUL Syntax] Remove support for align="vertical" in <box> and <window>

by andersma@luther.edu r=timeless sr=hyatt
and there was much rejoicing!
for and then there were none
This commit is contained in:
timeless%mac.com 2001-08-08 05:55:24 +00:00
Родитель bef12d04e9
Коммит f4f22518ab
1 изменённых файлов: 0 добавлений и 8 удалений

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

@ -631,14 +631,6 @@ nsBoxFrame::GetInitialOrientation(PRBool& aIsHorizontal)
aIsHorizontal = PR_FALSE;
else if (value.EqualsIgnoreCase("horizontal"))
aIsHorizontal = PR_TRUE;
} else {
// deprecated, use align
if (NS_CONTENT_ATTR_HAS_VALUE == content->GetAttribute(kNameSpaceID_None, nsHTMLAtoms::align, value)) {
if (value.EqualsIgnoreCase("vertical"))
aIsHorizontal = PR_FALSE;
else if (value.EqualsIgnoreCase("horizontal"))
aIsHorizontal = PR_TRUE;
}
}
}