mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 813550 - Location bar's placeholder in an RTL chrome should be aligned on the right. r=ehsan a=nonlibxul
This commit is contained in:
parent
d8d65c38c2
commit
e7a08c52ce
@ -221,8 +221,6 @@ splitmenu {
|
||||
-moz-binding: url(chrome://browser/content/urlbarBindings.xml#urlbar);
|
||||
}
|
||||
|
||||
.uri-element-right-align:-moz-locale-dir(rtl),
|
||||
html|input.uri-element-right-align:-moz-locale-dir(rtl),
|
||||
.ac-url-text:-moz-locale-dir(rtl),
|
||||
.ac-title:-moz-locale-dir(rtl) > description {
|
||||
direction: ltr !important;
|
||||
|
@ -76,15 +76,16 @@ input::-moz-placeholder {
|
||||
line-height: -moz-block-height;
|
||||
}
|
||||
|
||||
/* Make sure that the location bar's alignment in RTL mode changes according
|
||||
to the input box direction if the user switches the text direction using
|
||||
cmd_switchTextDirection (which applies a dir attribute to the input box's
|
||||
anonymous div. */
|
||||
@-moz-document url-prefix(chrome://) {
|
||||
input.uri-element-right-align:-moz-locale-dir(rtl) > .anonymous-div {
|
||||
input.uri-element-right-align:-moz-locale-dir(rtl) {
|
||||
direction: ltr !important;
|
||||
text-align: right !important;
|
||||
}
|
||||
|
||||
/* Make sure that the location bar's alignment in RTL mode changes according
|
||||
to the input box direction if the user switches the text direction using
|
||||
cmd_switchTextDirection (which applies a dir attribute to the input box's
|
||||
anonymous div). */
|
||||
input.uri-element-right-align:-moz-locale-dir(rtl) > .anonymous-div[dir=ltr] {
|
||||
text-align: left !important;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user