Bug 1163238 - Reftest for auto margins on orthogonal flow.

This commit is contained in:
Jonathan Kew 2015-06-03 11:17:27 +01:00
parent 15cbabc52d
commit a5c5d82e86
3 changed files with 82 additions and 0 deletions

View File

@ -0,0 +1,39 @@
<!DOCTYPE html>
<html>
<head>
<style>
body {
border: 1px solid blue;
}
.vlr {
border: 5px solid green;
width: 200px;
height: 400px;
margin: 0px auto;
}
.h1 {
border: 10px solid red;
width: 100px;
height: 200px;
margin-top: 90px;
}
.vrl {
background: yellow;
width: 50px;
height: 75px;
padding-top: 25px;
margin-left: 25px;
}
.h2 {
background: black;
width: 20px;
height: 50px;
margin-left: 30px;
}
</style>
</head>
<body>
<div class="vlr">
<div class="h1">
<div class="vrl">
<div class="h2">

View File

@ -0,0 +1,42 @@
<!DOCTYPE html>
<html>
<head>
<style>
body {
border: 1px solid blue;
}
.vlr {
border: 5px solid green;
width: 200px;
height: 400px;
writing-mode: vertical-lr;
margin: auto;
}
.h1 {
border: 10px solid red;
width: 100px;
height: 200px;
writing-mode: horizontal-tb;
margin: auto;
}
.vrl {
background: yellow;
width: 50px;
height: 100px;
writing-mode: vertical-rl;
margin: auto;
}
.h2 {
background: black;
width: 20px;
height: 50px;
writing-mode: horizontal-tb;
margin: auto;
}
</style>
</head>
<body>
<div class="vlr">
<div class="h1">
<div class="vrl">
<div class="h2">

View File

@ -133,6 +133,7 @@ test-pref(dom.meta-viewport.enabled,true) test-pref(font.size.inflation.emPerLin
== 1157752-upright-bidi.html 1157752-upright-bidi-ref.html
== 1157758-1-vertical-arabic.html 1157758-1-vertical-arabic-ref.html
== 1158549-1-vertical-block-size-constraints.html 1158549-1-vertical-block-size-constraints-ref.html
== 1163238-orthogonal-auto-margins.html 1163238-orthogonal-auto-margins-ref.html
# Suite of tests from Gérard Talbot in bug 1079151
include abspos/reftest.list