Bug 1096224 - Reftest for margins on an orthogonal block. r=smontagu

This commit is contained in:
Jonathan Kew 2014-11-26 10:24:17 +00:00
Родитель 1c2aa200a8
Коммит 1ec93d3e5c
4 изменённых файлов: 135 добавлений и 0 удалений

Просмотреть файл

@ -0,0 +1,43 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<style>
.outer {
padding: 2px;
border: 1px solid black;
background: #ddd;
width: 200px;
}
.inner {
width: 50px;
height: 50px;
background: yellow;
}
.foo {
margin-left: 100px;
margin-right: 50px;
margin-top: 20px;
margin-bottom: 5px;
}
.bar {
margin-left: 50px;
margin-right: 100px;
margin-top: 5px;
margin-bottom: 20px;
}
</style>
</head>
<body>
<div class="outer">
<div class="inner foo">
</div>
<hr>
<div class="inner bar">
</div>
</div>
</body>
</html>

Просмотреть файл

@ -0,0 +1,45 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<style>
.outer {
padding: 2px;
border: 1px solid black;
background: #ddd;
width: 200px;
}
.inner {
width: 50px;
height: 50px;
background: yellow;
}
.foo {
writing-mode: vertical-lr;
margin-left: 100px;
margin-right: 50px;
margin-top: 20px;
margin-bottom: 5px;
}
.bar {
writing-mode: vertical-lr;
margin-left: 50px;
margin-right: 100px;
margin-top: 5px;
margin-bottom: 20px;
}
</style>
</head>
<body>
<div class="outer">
<div class="inner foo">
</div>
<hr>
<div class="inner bar">
</div>
</div>
</body>
</html>

Просмотреть файл

@ -0,0 +1,45 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<style>
.outer {
padding: 2px;
border: 1px solid black;
background: #ddd;
width: 200px;
}
.inner {
width: 50px;
height: 50px;
background: yellow;
}
.foo {
writing-mode: vertical-rl;
margin-left: 100px;
margin-right: 50px;
margin-top: 20px;
margin-bottom: 5px;
}
.bar {
writing-mode: vertical-rl;
margin-left: 50px;
margin-right: 100px;
margin-top: 5px;
margin-bottom: 20px;
}
</style>
</head>
<body>
<div class="outer">
<div class="inner foo">
</div>
<hr>
<div class="inner bar">
</div>
</div>
</body>
</html>

Просмотреть файл

@ -22,4 +22,6 @@ random-if(gtk2Widget) == 1094434-1.html 1094434-1-ref.html # bug 1094845
random-if(gtk2Widget) == 1094434-2.html 1094434-2-ref.html # bug 1094845
== 1094914-1a.html 1094914-1-ref.html
== 1094914-1b.html 1094914-1-ref.html
== 1096224-1a.html 1096224-1-ref.html
== 1096224-1b.html 1096224-1-ref.html
== 1103613-1.html 1103613-1-ref.html