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)
authorDaniel Holbert <dholbert@cs.stanford.edu>
Mon, 04 Apr 2016 18:32:12 -0700
changeset 347716 bd3daa360f1b95d56bc6422f9b02f0497df99805
parent 347715 a9a79edf76f0d5171ec095f2b2d3156c2609fd0e
child 347717 fe5648437459d81b17c5992a5213c956d8668efd
push id14653
push userolivier@olivieryiptong.com
push dateTue, 05 Apr 2016 19:21:01 +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>