From 7336391a29bcdb0b6786cb6df0190511947b0b10 Mon Sep 17 00:00:00 2001 From: Daniel Holbert Date: Mon, 4 Apr 2016 18:32:12 -0700 Subject: [PATCH] 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 --- .../reftests/webkit-box/webkit-box-pack-horiz-1-ref.html | 9 ++++----- layout/reftests/webkit-box/webkit-box-pack-horiz-1a.html | 3 +-- layout/reftests/webkit-box/webkit-box-pack-horiz-1b.html | 3 +-- .../reftests/webkit-box/webkit-box-pack-vert-1-ref.html | 9 ++++----- layout/reftests/webkit-box/webkit-box-pack-vert-1.html | 3 +-- 5 files changed, 11 insertions(+), 16 deletions(-) diff --git a/layout/reftests/webkit-box/webkit-box-pack-horiz-1-ref.html b/layout/reftests/webkit-box/webkit-box-pack-horiz-1-ref.html index 0e57cfbe40de..1fe5090aff8b 100644 --- a/layout/reftests/webkit-box/webkit-box-pack-horiz-1-ref.html +++ b/layout/reftests/webkit-box/webkit-box-pack-horiz-1-ref.html @@ -28,11 +28,10 @@ /* 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; } diff --git a/layout/reftests/webkit-box/webkit-box-pack-horiz-1a.html b/layout/reftests/webkit-box/webkit-box-pack-horiz-1a.html index 1b97305f99e6..8a1330154e07 100644 --- a/layout/reftests/webkit-box/webkit-box-pack-horiz-1a.html +++ b/layout/reftests/webkit-box/webkit-box-pack-horiz-1a.html @@ -32,8 +32,7 @@ .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; } diff --git a/layout/reftests/webkit-box/webkit-box-pack-horiz-1b.html b/layout/reftests/webkit-box/webkit-box-pack-horiz-1b.html index 924581b622b0..0332ab12e57d 100644 --- a/layout/reftests/webkit-box/webkit-box-pack-horiz-1b.html +++ b/layout/reftests/webkit-box/webkit-box-pack-horiz-1b.html @@ -33,8 +33,7 @@ .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; } diff --git a/layout/reftests/webkit-box/webkit-box-pack-vert-1-ref.html b/layout/reftests/webkit-box/webkit-box-pack-vert-1-ref.html index e859941fce11..ed8fe20b3e90 100644 --- a/layout/reftests/webkit-box/webkit-box-pack-vert-1-ref.html +++ b/layout/reftests/webkit-box/webkit-box-pack-vert-1-ref.html @@ -29,11 +29,10 @@ /* 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; } diff --git a/layout/reftests/webkit-box/webkit-box-pack-vert-1.html b/layout/reftests/webkit-box/webkit-box-pack-vert-1.html index d6ea3e14842d..41b5273431e2 100644 --- a/layout/reftests/webkit-box/webkit-box-pack-vert-1.html +++ b/layout/reftests/webkit-box/webkit-box-pack-vert-1.html @@ -33,8 +33,7 @@ .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; }