Bug 1249497 - Use isolate-override for bdo elements. r=jfkthame

MozReview-Commit-ID: 9Sx87z5gcqZ

--HG--
extra : rebase_source : 1c0d4b53be58e7ee2656b5de9d8f73414e0ea707
This commit is contained in:
Xidorn Quan 2016-07-01 09:53:26 +10:00
parent d8776eeec9
commit ce930266d1
2 changed files with 4 additions and 7 deletions

View File

@ -90,9 +90,6 @@ bdi, output {
unicode-bidi: isolate;
}
bdo, bdo[dir] {
unicode-bidi: bidi-override;
}
bdo[dir="auto"] {
unicode-bidi: isolate-override;
}
textarea[dir="auto"], pre[dir="auto"] { unicode-bidi: plaintext; }

View File

@ -49,11 +49,11 @@ var tests = [
['output', {'dir': 'auto'}, 'ltr', 'isolate'],
['output', {'dir': ''}, 'ltr', 'isolate'],
['bdo', {}, 'ltr', 'bidi-override'],
['bdo', {'dir': 'ltr'}, 'ltr', 'bidi-override'],
['bdo', {'dir': 'rtl'}, 'rtl', 'bidi-override'],
['bdo', {}, 'ltr', 'isolate-override'],
['bdo', {'dir': 'ltr'}, 'ltr', 'isolate-override'],
['bdo', {'dir': 'rtl'}, 'rtl', 'isolate-override'],
['bdo', {'dir': 'auto'}, 'ltr', 'isolate-override'],
['bdo', {'dir': ''}, 'ltr', 'bidi-override'],
['bdo', {'dir': ''}, 'ltr', 'isolate-override'],
['textarea', {}, 'ltr', 'normal'],
['textarea', {'dir': 'ltr'}, 'ltr', 'isolate'],