author | Xidorn Quan <quanxunzhen@gmail.com> |
Mon, 12 Jan 2015 12:52:19 +1100 | |
changeset 223178 | 82612d0c8c73cb1b0d3713ca4d18f0f793bddd99 |
parent 223177 | 70e558ca91634f889d6557960f6baad8c9607256 |
child 223179 | 0cbf1255694dbd5fe91a8fed3dfdc4955445336b |
push id | 28082 |
push user | cbook@mozilla.com |
push date | Mon, 12 Jan 2015 10:44:52 +0000 |
treeherder | mozilla-central@643589c3ef94 [default view] [failures only] |
perfherder | [talos] [build metrics] [platform microbench] (compared to previous push) |
reviewers | dbaron |
bugs | 1111463 |
milestone | 37.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
|
layout/style/html.css | file | annotate | diff | comparison | revisions | |
layout/style/ua.css | file | annotate | diff | comparison | revisions |
--- a/layout/style/html.css +++ b/layout/style/html.css @@ -756,8 +756,42 @@ marquee[direction="up"], marquee[directi } /* PRINT ONLY rules follow */ @media print { marquee { -moz-binding: none; } } + +/* Ruby */ + +@supports (display: ruby) { + ruby { + display: ruby; + } + rb { + 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; + } + rtc > rt { + font-size: inherit; + } + ruby, rb, rt, rbc, rtc { + unicode-bidi: isolate; + } +}
--- a/layout/style/ua.css +++ b/layout/style/ua.css @@ -68,17 +68,17 @@ } *|*::-moz-table-cell { display: table-cell !important; white-space: inherit; } /* Ruby */ -@supports(display:ruby) { +@supports (display:ruby) { *|*::-moz-ruby { display: ruby; } *|*::-moz-ruby-base { display: ruby-base; } *|*::-moz-ruby-text { display: ruby-text;