Bug 1249497 - Use isolate-override for bdo elements. r=jfkthame
authorXidorn Quan <me@upsuper.org>
Fri, 01 Jul 2016 09:53:26 +1000
changeset 303537 d42940726072
parent 303536 26cf02eec830
child 303538 154d0ebf99e0
push id30426
push userxquan@mozilla.com
push dateMon, 04 Jul 2016 23:36:35 +0000
treeherderautoland@d42940726072 [default view] [failures only]
reviewersjfkthame
bugs1249497
milestone50.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1249497 - Use isolate-override for bdo elements. r=jfkthame MozReview-Commit-ID: 9Sx87z5gcqZ
layout/style/res/html.css
layout/style/test/test_default_bidi_css.html
--- a/layout/style/res/html.css
+++ b/layout/style/res/html.css
@@ -85,19 +85,16 @@ ul,
 xmp {
   unicode-bidi: isolate;
 }
 
 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; }
 
 /* blocks */
 
 article,
 aside,
--- a/layout/style/test/test_default_bidi_css.html
+++ b/layout/style/test/test_default_bidi_css.html
@@ -44,21 +44,21 @@ var tests = [
     ['bdi', {'dir': ''}, 'ltr', 'isolate'],
 
     ['output', {}, 'ltr', 'isolate'],
     ['output', {'dir': 'ltr'}, 'ltr', 'isolate'],
     ['output', {'dir': 'rtl'}, 'rtl', 'isolate'],
     ['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'],
     ['textarea', {'dir': 'rtl'}, 'rtl', 'isolate'],
     ['textarea', {'dir': 'auto'}, 'ltr', 'plaintext'],
     ['textarea', {'dir': ''}, 'ltr', 'isolate'],
 
     ['pre', {}, 'ltr', 'isolate'],