зеркало из https://github.com/mozilla/pjs.git
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:
Родитель
bef12d04e9
Коммит
f4f22518ab
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче