Bug 1257688 part 2: Enable "-webkit-box-pack: justify" sections of -webkit-box reftests, & fix reference cases to use 'space-between' (the modern equivalent). (no review) draft
authorDaniel Holbert <dholbert@cs.stanford.edu>
Mon, 04 Apr 2016 15:23:06 -0700
changeset 347452 d738b13da549d98e10d136bf0bebd888ac919519
parent 347451 e73f2c309a502aa4cdd75d17aed76ecad080e54c
child 347453 bf1825e1654ab6c2d5c0c766da6b057c4fbf69c7
push id14582
push userdholbert@mozilla.com
push dateMon, 04 Apr 2016 22:23:15 +0000
bugs1257688
milestone48.0a1
Bug 1257688 part 2: Enable "-webkit-box-pack: justify" sections of -webkit-box reftests, & fix reference cases to use 'space-between' (the modern equivalent). (no review) MozReview-Commit-ID: LIqNUL2oI3T
layout/reftests/webkit-box/webkit-box-pack-horiz-1-ref.html
layout/reftests/webkit-box/webkit-box-pack-horiz-1a.html
layout/reftests/webkit-box/webkit-box-pack-horiz-1b.html
layout/reftests/webkit-box/webkit-box-pack-vert-1-ref.html
layout/reftests/webkit-box/webkit-box-pack-vert-1.html
--- a/layout/reftests/webkit-box/webkit-box-pack-horiz-1-ref.html
+++ b/layout/reftests/webkit-box/webkit-box-pack-horiz-1-ref.html
@@ -23,21 +23,20 @@
     }
     .box > *:nth-child(2) {
       background: salmon;
       font-size: 50%;
       width: 2em;
       /* auto height */
     }
 
-    .bpstart   { justify-content: flex-start; }
-    .bpcenter  { justify-content: center;     }
-    .bpend     { justify-content: flex-end;   }
-    .bpjustify { justify-content: justify;
-                 display:none; /* XXXdholbert Disabling until bug 1231682 is fixed */ }
+    .bpstart   { justify-content: flex-start;    }
+    .bpcenter  { justify-content: center;        }
+    .bpend     { justify-content: flex-end;      }
+    .bpjustify { justify-content: space-between; }
     br { clear: both; }
   </style>
 </head>
 <body>
   <!-- FIRST ROW: Default -webkit-box-pack -->
   <!-- intrinsically sized -->
   <div class="box">
     <div>a</div><div>b</div>
--- a/layout/reftests/webkit-box/webkit-box-pack-horiz-1a.html
+++ b/layout/reftests/webkit-box/webkit-box-pack-horiz-1a.html
@@ -27,18 +27,17 @@
       font-size: 50%;
       width: 2em;
       /* auto height */
     }
 
     .bpstart   { -webkit-box-pack: start;   }
     .bpcenter  { -webkit-box-pack: center;  }
     .bpend     { -webkit-box-pack: end;     }
-    .bpjustify { -webkit-box-pack: justify;
-                 display:none; /* XXXdholbert Disabling until bug 1231682 is fixed */ }
+    .bpjustify { -webkit-box-pack: justify; }
     br { clear: both; }
   </style>
 </head>
 <body>
   <!-- FIRST ROW: Default -webkit-box-pack -->
   <!-- intrinsically sized -->
   <div class="box">
     <div>a</div><div>b</div>
--- a/layout/reftests/webkit-box/webkit-box-pack-horiz-1b.html
+++ b/layout/reftests/webkit-box/webkit-box-pack-horiz-1b.html
@@ -28,18 +28,17 @@
       font-size: 50%;
       width: 2em;
       /* auto height */
     }
 
     .bpstart   { -webkit-box-pack: start;   }
     .bpcenter  { -webkit-box-pack: center;  }
     .bpend     { -webkit-box-pack: end;     }
-    .bpjustify { -webkit-box-pack: justify;
-                 display:none; /* XXXdholbert Disabling until bug 1231682 is fixed */ }
+    .bpjustify { -webkit-box-pack: justify; }
     br { clear: both; }
   </style>
 </head>
 <body>
   <!-- FIRST ROW: Default -webkit-box-pack -->
   <!-- intrinsically sized -->
   <div class="box">
     <div>a</div><div>b</div>
--- a/layout/reftests/webkit-box/webkit-box-pack-vert-1-ref.html
+++ b/layout/reftests/webkit-box/webkit-box-pack-vert-1-ref.html
@@ -24,21 +24,20 @@
     }
     .box > *:nth-child(2) {
       background: salmon;
       font-size: 50%;
       width: 2em;
       /* auto height */
     }
 
-    .bpstart   { justify-content: flex-start; }
-    .bpcenter  { justify-content: center;     }
-    .bpend     { justify-content: flex-end;   }
-    .bpjustify { justify-content: justify;
-                 display:none; /* XXXdholbert Disabling until bug 1231682 is fixed */ }
+    .bpstart   { justify-content: flex-start;    }
+    .bpcenter  { justify-content: center;        }
+    .bpend     { justify-content: flex-end;      }
+    .bpjustify { justify-content: space-between; }
     br { clear: both; }
   </style>
 </head>
 <body>
   <!-- FIRST ROW: Default -webkit-box-pack -->
   <!-- intrinsically sized -->
   <div class="box">
     <div>a</div><div>b</div>
--- a/layout/reftests/webkit-box/webkit-box-pack-vert-1.html
+++ b/layout/reftests/webkit-box/webkit-box-pack-vert-1.html
@@ -28,18 +28,17 @@
       font-size: 50%;
       width: 2em;
       /* auto height */
     }
 
     .bpstart   { -webkit-box-pack: start;   }
     .bpcenter  { -webkit-box-pack: center;  }
     .bpend     { -webkit-box-pack: end;     }
-    .bpjustify { -webkit-box-pack: justify;
-                 display:none; /* XXXdholbert Disabling until bug 1231682 is fixed */ }
+    .bpjustify { -webkit-box-pack: justify; }
     br { clear: both; }
   </style>
 </head>
 <body>
   <!-- FIRST ROW: Default -webkit-box-pack -->
   <!-- intrinsically sized -->
   <div class="box">
     <div>a</div><div>b</div>