diff --git a/layout/reftests/css-ruby/common.css b/layout/reftests/css-ruby/common.css index beb9d5073a35..e65c5600d948 100644 --- a/layout/reftests/css-ruby/common.css +++ b/layout/reftests/css-ruby/common.css @@ -1,35 +1,16 @@ -ruby { - display: ruby; -} rbc { display: ruby-base-container; } -rtc { - display: ruby-text-container; - font-size: 50%; - line-height: 1em; -} -rb { - display: ruby-base; - white-space: nowrap; -} -rt { - display: ruby-text; - white-space: nowrap; - font-size: 50%; - line-height: 1em; -} -rtc > rt { - font-size: inherit; - line-height: 1em; -} [pseudo] { - font-size: inherit !important; - line-height: inherit !important; + font-size: inherit; + line-height: inherit; } [pseudo] > rt { font-size: 50%; } +[pseudo] > rt[pseudo] { + font-size: inherit; +} .large { font-size: 200%; diff --git a/layout/reftests/css-ruby/ruby-whitespace-1-ref.html b/layout/reftests/css-ruby/ruby-whitespace-1-ref.html index f932a5d2986f..7018627d138f 100644 --- a/layout/reftests/css-ruby/ruby-whitespace-1-ref.html +++ b/layout/reftests/css-ruby/ruby-whitespace-1-ref.html @@ -1,6 +1,6 @@ - +