Bug 1267555 part 2 - [css-grid] Adjust reftests for abs.pos. "auto/first-line" and "last-line/auto" change.
authorMats Palmgren <mats@mozilla.com>
Thu, 28 Apr 2016 21:21:20 +0200
changeset 357648 0942b9f7878c4ea8ca0e58b6e8c44b91cb78d6b2
parent 357647 bdd514a74b4657e02d06bcfe5edb260752f9c834
child 357649 723d1f49780a66d4f6368367589ca233272aeef6
push id16816
push userbmo:gasolin@mozilla.com
push dateFri, 29 Apr 2016 03:33:20 +0000
bugs1267555
milestone49.0a1
Bug 1267555 part 2 - [css-grid] Adjust reftests for abs.pos. "auto/first-line" and "last-line/auto" change.
layout/reftests/css-grid/grid-abspos-items-013-ref.html
layout/reftests/css-grid/grid-placement-abspos-implicit-001-ref.html
layout/reftests/css-grid/grid-repeat-auto-fill-fit-007-ref.html
--- a/layout/reftests/css-grid/grid-abspos-items-013-ref.html
+++ b/layout/reftests/css-grid/grid-abspos-items-013-ref.html
@@ -91,43 +91,43 @@ x:nth-of-type(4) { left:365px; }
 
 <div class="grid">
 <x></x><x></x><x></x><x></x>
 <a style="left:5px; width:260px"></a><b style="width:5px"></b><c style="left:5px"></c>
 </div>
 
 <div class="grid">
 <x></x><x></x><x></x><x></x>
-<a style="left:795px"></a><b style="width:505px"></b><c style="left:795px"></c>
+<a style="left:505px"></a><b style="width:505px"></b><c style="left:505px"></c>
 </div>
 
 <div class="grid s">
 <x></x><x></x><x></x><x></x>
 <a style="left:255px; width:155px"></a><b style="width:410px"></b><c style="left:525px"></c>
 </div>
 
 <div class="grid s">
 <x></x><x></x><x></x><x></x>
-<a style="left:120px; width:290px"></a><b style="width:5px"></b><c style="left:120px"></c>
+<a style="left:120px; width:290px"></a><b style="width:120px"></b><c style="left:120px"></c>
 </div>
 
 <div class="grid s">
 <x></x><x></x><x></x><x></x>
-<a style="left:795px"></a><b style="width:680px"></b><c style="left:795px"></c>
+<a style="left:680px"></a><b style="width:680px"></b><c style="left:680px"></c>
 </div>
 
 <div class="grid r">
 <x></x><x></x><x></x><x></x>
 <a style="top:32px; height:50px"></a><b style="height:82px"></b><c style="top:92px"></c>
 </div>
 
 <div class="grid r">
 <x></x><x></x><x></x><x></x>
 <a style="top:2px; height:80px"></a><b style="height:2px"></b><c style="top:2px"></c>
 </div>
 
 <div class="grid r">
 <x></x><x></x><x></x><x></x>
-<a style="top:162px"></a><b style="height:142px"></b><c style="top:162px"></c>
+<a style="top:142px"></a><b style="height:142px"></b><c style="top:142px"></c>
 </div>
 
 </body>
 </html>
--- a/layout/reftests/css-grid/grid-placement-abspos-implicit-001-ref.html
+++ b/layout/reftests/css-grid/grid-placement-abspos-implicit-001-ref.html
@@ -93,17 +93,17 @@ span {
 <span class="b abs" style="width:212px">b</span>
 </div>
 
 <div class="grid">
 <span class="c abs">c</span>
 </div>
 
 <div class="grid">
-<span class="d abs" style="height:3px; top:58px"></span>
+<span class="d abs" style="height:56px;"></span>
 </div>
 
 <div class="grid">
 <span class="e abs">e</span>
 </div>
 
 <div class="grid">
 <span class="f abs">f</span>
--- a/layout/reftests/css-grid/grid-repeat-auto-fill-fit-007-ref.html
+++ b/layout/reftests/css-grid/grid-repeat-auto-fill-fit-007-ref.html
@@ -95,17 +95,17 @@ x:last-child {
 float { float:left; margin-right:20px; }
 
 .x5 { grid-template-columns: repeat(5,20px); }
 .x4 { grid-template-columns: repeat(4,20px); }
 .x3 { grid-template-columns: repeat(3,20px); }
 .x2 { grid-template-columns: repeat(2,20px); }
 
 .t1.x5 a { grid-column:5/auto; }
-.c2.t1.x5 a , .c3.t1.x5 a { display:none; }
+.c2.t1.x5 a , .c3.t1.x5 a { grid-column-start:-2; left:-2px; }
 .c1.t1.x4 a { grid-column:4/auto; }
 .c1.t1.x3 a { grid-column:3/auto; }
 .c1.t1.x2 a { grid-column:2/auto; }
 
 .t1.x5 c { grid-column:-3/-2; }
 .t2.x5 c { grid-column:-2/-1; }
 
 .c1.t1.x4 c { grid-column:-2/auto; }