Bug 1111463 part 2 - Add styles in html.css and ua.css. r=dbaron

--HG--
extra : source : 36266a6c05c5d40c0ebdd97a3935041a8d8f1010
This commit is contained in:
Xidorn Quan 2015-01-12 12:52:19 +11:00
parent 0121de7dec
commit fdcb33cf1c
2 changed files with 35 additions and 1 deletions

View File

@ -761,3 +761,37 @@ marquee[direction="up"], marquee[direction="down"] {
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;
}
}

View File

@ -73,7 +73,7 @@
}
/* Ruby */
@supports(display:ruby) {
@supports (display:ruby) {
*|*::-moz-ruby {
display: ruby;
}