Bug 979653 - fix dir attribute checks for url field in rtl mode, r=ehsan

--HG--
extra : rebase_source : 58b0ea3e75fd8237df5ab5fadaa2feaee9cb47b9
This commit is contained in:
Gijs Kruitbosch 2014-04-08 22:47:39 +01:00
Родитель 33e4783558
Коммит fbac7dbf96
1 изменённых файлов: 2 добавлений и 3 удалений

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

@ -87,9 +87,8 @@ input::-moz-placeholder {
/* 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] {
cmd_switchTextDirection (which applies a dir attribute to the <input>). */
input.uri-element-right-align[dir=ltr]:-moz-locale-dir(rtl) {
text-align: left !important;
}
}