Bug 1134432 part 6 - Add reftest for intrinsic isize calculation of ruby. r=dbaron

This commit is contained in:
Xidorn Quan 2015-02-22 00:39:33 +13:00
parent 6fb97f335e
commit c3cf551c1d
3 changed files with 96 additions and 0 deletions

View File

@ -0,0 +1,49 @@
<!DOCTYPE html>
<html lang="ja">
<head>
<meta charset="UTF-8">
<title>Bug 1134432 - Intrinsic ISize calculation of ruby</title>
<style>
div {
display: inline-block;
border: 1px solid black;
}
span {
white-space: nowrap;
}
</style>
</head>
<body>
<div style="width: -moz-min-content">
<span>ABC</span><span>DEF</span>
</div>
<div style="width: -moz-max-content">
<span>ABC</span><span>DEF</span>
</div>
<br>
<div style="width: -moz-min-content">
XYZ<span>ABC</span><span>DEF</span>XYZ
</div>
<div style="width: -moz-max-content">
XYZ<span>ABC</span><span>DEF</span>XYZ
</div>
<br>
<div style="width: -moz-min-content">
<span>あい</span><span>うえ</span>
</div>
<div style="width: -moz-max-content">
<span>あい</span><span>うえ</span>
</div>
<br>
<div style="width: -moz-min-content">
<span>あい</span><span>うえ</span>
</div>
<div style="width: -moz-max-content">
<span>あい</span><span>うえ</span>
</div>
<br>
</body>
</html>

View File

@ -0,0 +1,46 @@
<!DOCTYPE html>
<html lang="ja">
<head>
<meta charset="UTF-8">
<title>Bug 1134432 - Intrinsic ISize calculation of ruby</title>
<style>
div {
display: inline-block;
border: 1px solid black;
}
</style>
</head>
<body>
<div style="width: -moz-min-content">
<ruby><rb>ABC<rb>DEF</ruby>
</div>
<div style="width: -moz-max-content">
<ruby><rb>ABC<rb>DEF</ruby>
</div>
<br>
<div style="width: -moz-min-content">
XYZ<ruby><rb>ABC<rb>DEF</ruby>XYZ
</div>
<div style="width: -moz-max-content">
XYZ<ruby><rb>ABC<rb>DEF</ruby>XYZ
</div>
<br>
<div style="width: -moz-min-content">
<ruby><rb>あい<rb>うえ</ruby>
</div>
<div style="width: -moz-max-content">
<ruby><rb>あい<rb>うえ</ruby>
</div>
<br>
<div style="width: -moz-min-content">
<ruby><rb>あい<rb>うえ</ruby>
</div>
<div style="width: -moz-max-content">
<ruby><rb>あい<rb>うえ</ruby>
</div>
<br>
</body>
</html>

View File

@ -19,6 +19,7 @@ default-preferences pref(layout.css.ruby.enabled,true)
== intra-level-whitespace-1.html intra-level-whitespace-1-ref.html
== intra-level-whitespace-2.html intra-level-whitespace-2-ref.html
== intra-level-whitespace-3.html intra-level-whitespace-3-ref.html
== intrinsic-isize-1.html intrinsic-isize-1-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