mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1133624 - Add lang-specific ruby rules to ua.css. r=dbaron
This commit is contained in:
parent
ebdaffdf6e
commit
a740a953a5
14
layout/reftests/css-ruby/lang-specific-style-1-ref.html
Normal file
14
layout/reftests/css-ruby/lang-specific-style-1-ref.html
Normal file
@ -0,0 +1,14 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Bug 1133624 - Test for lang-specific default stylesheet for ruby</title>
|
||||
<link rel="stylesheet" href="common.css">
|
||||
</head>
|
||||
<body style="font: 200%/normal Ahem !important">
|
||||
<p><ruby><rb>base x x<rt style="ruby-align: space-around; font-size: 50%">text x x</ruby></p>
|
||||
<p><ruby><rb>base x x<rt style="ruby-align: space-around; font-size: 50%">text x x</ruby></p>
|
||||
<p><ruby><rb>base x x<rt style="ruby-align: center; font-size: 50%">text x x</ruby></p>
|
||||
<p><ruby><rb>base x x<rt style="ruby-align: center; font-size: 30%">text x x</ruby></p>
|
||||
</body>
|
||||
</html>
|
14
layout/reftests/css-ruby/lang-specific-style-1.html
Normal file
14
layout/reftests/css-ruby/lang-specific-style-1.html
Normal file
@ -0,0 +1,14 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Bug 1133624 - Test for lang-specific default stylesheet for ruby</title>
|
||||
<link rel="stylesheet" href="common.css">
|
||||
</head>
|
||||
<body style="font: 200%/normal Ahem !important">
|
||||
<p lang="en"><ruby><rb>base x x<rt>text x x</ruby></p>
|
||||
<p lang="ja"><ruby><rb>base x x<rt>text x x</ruby></p>
|
||||
<p lang="zh-CN"><ruby><rb>base x x<rt>text x x</ruby></p>
|
||||
<p lang="zh-TW"><ruby><rb>base x x<rt>text x x</ruby></p>
|
||||
</body>
|
||||
</html>
|
@ -23,6 +23,7 @@ test-pref(dom.meta-viewport.enabled,true) test-pref(font.size.inflation.emPerLin
|
||||
== intrinsic-isize-1.html intrinsic-isize-1-ref.html
|
||||
== justification-1.html justification-1-ref.html
|
||||
== justification-2.html justification-2-ref.html
|
||||
fuzzy-if(winWidget,171,792) == lang-specific-style-1.html lang-specific-style-1-ref.html # bug 1134947
|
||||
== line-breaking-1.html line-breaking-1-ref.html
|
||||
== line-height-1.html line-height-1-ref.html
|
||||
== line-height-2.html line-height-2-ref.html
|
||||
|
@ -813,6 +813,12 @@ marquee[direction="up"], marquee[direction="down"] {
|
||||
font-size: 50%;
|
||||
line-height: 1;
|
||||
}
|
||||
rtc:lang(zh), rt:lang(zh) {
|
||||
ruby-align: center;
|
||||
}
|
||||
rtc:lang(zh-TW), rt:lang(zh-TW) {
|
||||
font-size: 30%; /* bopomofo */
|
||||
}
|
||||
rtc > rt {
|
||||
font-size: inherit;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user