Bug 1079154 - Reftest for column child-frame positioning in vertical-rl mode, r=smontagu

This commit is contained in:
Jonathan Kew 2014-12-19 13:46:42 +00:00
parent f59243054f
commit c3656996fc
3 changed files with 83 additions and 0 deletions

View File

@ -0,0 +1,45 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<style>
body { width: 500px; height: 300px; writing-mode: vertical-rl;
font:16px/24px serif; margin: 0; border: 1px solid gray; }
div { margin: 10px; background: #eee; }
</style>
</head>
<body>
<div>
First single-column division.
</div>
<div>
<div style="margin: 0; display: inline-block; height: 145px">
Two columns<br>
one<br>two<br>three
</div><div style="margin: 0; display: inline-block; height: 135px; vertical-align: top">
four<br>five<br>six
</div>
</div>
<div>
Another single-column division.
</div>
<div>
<div style="margin: 0; display: inline-block; height: 95px">
Three columns<br>
one
</div><div style="margin: 0; display: inline-block; height: 95px">two<br>three<br>four
</div><div style="margin: 0; display: inline-block; height: 85px; vertical-align: top">five<br>six
</div>
</div>
<div>
Final single-column division.
</div>
</body>
</html>

View File

@ -0,0 +1,37 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<style>
body { width: 500px; height: 300px; writing-mode: vertical-rl;
font:16px/24px serif; margin: 0; border: 1px solid gray; }
div { margin: 10px; background: #eee; }
</style>
</head>
<body>
<div>
First single-column division.
</div>
<div style="-moz-column-count:2; -moz-column-gap:10px">
Two columns<br>
one<br>two<br>three<br>four<br>five<br>six
</div>
<div>
Another single-column division.
</div>
<div style="-moz-column-count:3; -moz-column-gap:5px">
Three columns<br>
one<br>two<br>three<br>four<br>five<br>six
</div>
<div>
Final single-column division.
</div>
</body>
</html>

View File

@ -1,6 +1,7 @@
# This directory contains tests for vertical text and logical layout coordinates
# It should not be included in layout/reftests/reftest.list until vertical layout
# is turned on
== 1079154-1-vertical-rl-columns.html 1079154-1-vertical-rl-columns-ref.html
== 1082844.html 1082844-ref.html
== 1083748.html 1083748-ref.html
== 1083848-1-inline-border.html 1083848-1-inline-border-ref.html