mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-27 12:50:09 +00: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
295bf1fa7a
commit
68efd64347
@ -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…
x
Reference in New Issue
Block a user