mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 473440 - LTR edit box context menu appears LTR in RTL locales; r=dao,enndeakin
This commit is contained in:
parent
ded2619c3b
commit
1d74aff96d
@ -492,6 +492,8 @@
|
||||
<content context="_child">
|
||||
<children/>
|
||||
<xul:menupopup anonid="input-box-contextmenu"
|
||||
class="textbox-contextmenu"
|
||||
chromedir="&locale.dir;"
|
||||
onpopupshowing="if (document.commandDispatcher.focusedElement != this.parentNode.firstChild)
|
||||
this.parentNode.firstChild.focus();
|
||||
this.parentNode._doPopupItemEnabling(this);"
|
||||
@ -553,6 +555,8 @@
|
||||
<content context="_child">
|
||||
<children/>
|
||||
<xul:menupopup anonid="input-box-contextmenu"
|
||||
class="textbox-contextmenu"
|
||||
chromedir="&locale.dir;"
|
||||
onpopupshowing="if (document.commandDispatcher.focusedElement != this.parentNode.firstChild)
|
||||
this.parentNode.firstChild.focus();
|
||||
this.parentNode._doPopupItemEnablingSpell(this);"
|
||||
|
@ -695,6 +695,10 @@ textbox[type="number"] {
|
||||
-moz-binding: url("chrome://global/content/bindings/numberbox.xml#numberbox");
|
||||
}
|
||||
|
||||
.textbox-contextmenu[chromedir="rtl"] {
|
||||
direction: rtl;
|
||||
}
|
||||
|
||||
/********** autocomplete textbox **********/
|
||||
|
||||
/* thunderbird and Nvu don't use the new toolkit's autocomplete widget yet.... */
|
||||
|
@ -74,7 +74,7 @@ html|*.textbox-textarea {
|
||||
font: inherit;
|
||||
}
|
||||
|
||||
.textbox-input-box menupopup {
|
||||
.textbox-contextmenu {
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
|
@ -74,7 +74,7 @@ html|*.textbox-textarea {
|
||||
font: inherit;
|
||||
}
|
||||
|
||||
.textbox-input-box menupopup {
|
||||
.textbox-contextmenu {
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user