Bug 1271392 part 5 - [css-grid] Reftest tweaks.

This commit is contained in:
Mats Palmgren
2016-05-18 13:49:33 +02:00
parent b0713aff57
commit b16a6ad0a3
4 changed files with 8 additions and 6 deletions

View File

@@ -19,6 +19,7 @@ html,body {
grid-auto-rows: 1in;
grid-gap: 0.1in;
border: 0.1in solid;
align-items: start;
}
span { display:block; background:lime; border:0.05in solid black; }
x { display:block; height:0.2in; }
@@ -32,7 +33,7 @@ br { page-break-after:always; break-after:always; display:block; height:1px; }
<div style="padding-top:1in; background:grey">
<div class="grid t">
<span class="t"><x style="height:auto"></x></span>
<span class="t" style="align-self:stretch"><x style="height:auto"></x></span>
</div>
<div class="grid b" style="border-color:transparent; grid-auto-rows: 0;">
<span class="b"><x style="height:0.04in"></x></span>

View File

@@ -21,6 +21,7 @@ html,body {
grid-auto-rows: 1in;
grid-gap: 0.1in;
border: 0.1in solid;
align-items: start;
}
span { display:block; background:lime; border:0.05in solid black; }
x { display:block; height:0.2in; }

View File

@@ -62,7 +62,7 @@ i { display:block; height:10px; margin-top:7px; background:blue; }
<span class="avoid-break" style="height:60px"><i></i><x></x><i></i><x></x><i></i><x></x></span>
</div>
<div style="height:4px"></div>
<div class="grid b" style="height:0px;grid-template-rows: 22px;"><span></span></div>
<div class="grid b" style="height:0px;grid-template-rows: 10px;"><span></span></div>
</div></div>
<div class="columns" style="height: 100px/*trigger NS_INLINE_IS_BREAK_BEFORE for the item: grow the row*/">
@@ -80,7 +80,7 @@ i { display:block; height:10px; margin-top:7px; background:blue; }
<span></span>
<span class="avoid-break" style="height:60px"><i></i><x></x><i></i><x></x><i></i><x></x></span>
</div>
<div class="grid b" style="height:0px;grid-template-rows: 22px;"><span></span></div>
<div class="grid b" style="height:0px;grid-template-rows: 10px;"><span></span></div>
</div></div>
<div class="columns" style="height: 100px/*trigger NS_INLINE_IS_BREAK_BEFORE for the item: grow the row*/">

View File

@@ -55,8 +55,8 @@ x {
</div>
<div class="grid">
<div style="width:2px">
<x></x>
<div style="width:2px; height:2px">
<x style="width:2px; height:2px"></x>
</div>
</div>
@@ -74,7 +74,7 @@ x {
<div class="grid">
<div style="width:2px; height:2px">
<x style="width:0px; height:2px"></x>
<x style="width:2px; height:2px"></x>
</div>
</div>