mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 11:25:00 +00:00
Bug 1089431 part 4 - Add reftest for line-breaking between ruby bases. r=jfkthame
--HG-- extra : rebase_source : ce0bc55986b27c52f93c1203d6f706b70420e274 extra : source : 26d9e93ec5dd3d23c05c746c9f08a74c764c498c
This commit is contained in:
parent
65f439f542
commit
c1a9d97ae8
17
layout/reftests/css-ruby/line-breaking-1-ref.html
Normal file
17
layout/reftests/css-ruby/line-breaking-1-ref.html
Normal file
@ -0,0 +1,17 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="ja">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Bug 1089431 - Meet the specification for line breaking between ruby bases</title>
|
||||
<link rel="stylesheet" href="common.css">
|
||||
<style>
|
||||
body { line-height: 3; }
|
||||
span { white-space: nowrap; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div style="width: .5em; border: 1px solid silver;">
|
||||
<span>「</span><span>な</span><span>に</span><span>、</span><span>誰</span><span>?</span><span>」</span><span>「</span><span>私</span><span>です</span><span>」</span>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
20
layout/reftests/css-ruby/line-breaking-1.html
Normal file
20
layout/reftests/css-ruby/line-breaking-1.html
Normal file
@ -0,0 +1,20 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="ja">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Bug 1089431 - Meet the specification for line breaking between ruby bases</title>
|
||||
<link rel="stylesheet" href="common.css">
|
||||
<style>
|
||||
body { line-height: 3; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div style="width: .5em; border: 1px solid silver;">
|
||||
<ruby>
|
||||
<rb>「<rb>な<rb>に<rb>、<rb>誰<rb>?<rb>」<rb>「<rb>私<rb>です<rb>」</rb>
|
||||
<!-- Check if ruby text containers are skipped from the text run -->
|
||||
<rtc><rt>
|
||||
</ruby>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
@ -29,6 +29,7 @@ fails == autohiding-3.html autohiding-3-ref.html # bug 1107701
|
||||
== intra-level-whitespace-3.html intra-level-whitespace-3-ref.html
|
||||
== justification-1.html justification-1-ref.html
|
||||
== justification-2.html justification-2-ref.html
|
||||
== 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
|
||||
== line-height-3.html line-height-3-ref.html
|
||||
|
Loading…
Reference in New Issue
Block a user