Bug 1249497 - Use isolate-override for bdo elements. r=jfkthame
authorXidorn Quan <me@upsuper.org>
Fri, 01 Jul 2016 09:53:26 +1000
changeset 303593 d429407260725e73d42d8b10fccdc4e51d2dd903
parent 303592 26cf02eec83062c5932edd32799a2ea1b6fb1936
child 303594 154d0ebf99e0dba4f30fa6a1f5a19f422c1bd6fd
push id30395
push usercbook@mozilla.com
push dateTue, 05 Jul 2016 14:01:02 +0000
treeherdermozilla-central@f47a1bc057ff [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
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'],