Fix for 93177, r/sr=pavlov,ben

This commit is contained in:
hyatt%netscape.com 2001-08-15 04:24:37 +00:00
Родитель 0ce26b4d00
Коммит ba45d2dbb2
2 изменённых файлов: 5 добавлений и 1 удалений

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

@ -679,6 +679,10 @@ nsBoxFrame::GetInitialDirection(PRBool& aIsNormal)
if (NS_CONTENT_ATTR_HAS_VALUE == content->GetAttribute(kNameSpaceID_None, nsXULAtoms::dir, value)) {
if (value.EqualsIgnoreCase("reverse"))
aIsNormal = !aIsNormal; // Invert our direction.
else if (value.EqualsIgnoreCase("ltr"))
aIsNormal = PR_TRUE;
else if (value.EqualsIgnoreCase("rtl"))
aIsNormal = PR_FALSE;
}
}

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

@ -27,7 +27,7 @@
<binding id="button" extends="chrome://global/content/bindings/button.xml#button-base">
<content>
<children includes="observes|template|menupopup|tooltip"/>
<xul:box class="box-inherit" orient="horizontal" dir="normal" flex="1">
<xul:box class="box-inherit" orient="horizontal" dir="ltr" flex="1">
<xul:vbox class="button-box-left" dir="normal" inherits="default,disabled">
<xul:spring class="button-left-top" inherits="default,disabled"/>
<xul:spring class="button-left-mid" inherits="default,disabled" flex="1"/>