mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-26 14:46:02 +00:00
Fix for 93177, r/sr=pavlov,ben
This commit is contained in:
parent
0ce26b4d00
commit
ba45d2dbb2
@ -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"/>
|
||||
|
Loading…
x
Reference in New Issue
Block a user