Bug 1154814 - Move font rules from 'rt' to 'rtc, rt' and make text-emphasis conditional. r=heycam, a=sledru
authorXidorn Quan <quanxunzhen@gmail.com>
Thu, 16 Apr 2015 13:42:56 +1200
changeset 258508 8fd05ce16a5f
parent 258507 f9d36adcdf51
child 258509 45a5eaa7813b
push id4682
push userryanvm@gmail.com
push date2015-04-16 18:48 +0000
treeherdermozilla-beta@45a5eaa7813b [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersheycam, sledru
bugs1154814
milestone38.0
Bug 1154814 - Move font rules from 'rt' to 'rtc, rt' and make text-emphasis conditional. r=heycam, a=sledru
layout/style/html.css
--- a/layout/style/html.css
+++ b/layout/style/html.css
@@ -797,26 +797,30 @@ marquee[direction="up"], marquee[directi
     display: ruby-base;
     white-space: nowrap;
   }
   rp {
     display: none;
   }
   rt {
     display: ruby-text;
-    font-variant-east-asian: ruby;
-    text-emphasis: none;
   }
   rtc {
     display: ruby-text-container;
   }
   rtc, rt {
     white-space: nowrap;
     font-size: 50%;
     line-height: 1;
+    font-variant-east-asian: ruby;
+  }
+  @supports (text-emphasis: none) {
+    rtc, rt {
+      text-emphasis: none;
+    }
   }
   rtc > rt {
     font-size: inherit;
   }
   ruby, rb, rt, rtc {
     unicode-bidi: -moz-isolate;
   }
 }