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
--- 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>