Bug 1501109 Part 2: Update test expectations for flex line growth state. r=dholbert
authorBrad Werth <bwerth@mozilla.com>
Tue, 23 Oct 2018 16:24:00 +0000
changeset 490950 ec3c914d6136944e6803e1596d383d9cd64fba64
parent 490949 19472cba78cc8439d0b1007ce1d4a8b3f2fcd592
child 490951 f07a9906ade401077637d96ec3db1d664d4e941a
push id247
push userfmarier@mozilla.com
push dateSat, 27 Oct 2018 01:06:44 +0000
reviewersdholbert
bugs1501109
milestone65.0a1
Bug 1501109 Part 2: Update test expectations for flex line growth state. r=dholbert Depends on D9454 Differential Revision: https://phabricator.services.mozilla.com/D9455
dom/flex/test/chrome/test_flex_lines.html
--- a/dom/flex/test/chrome/test_flex_lines.html
+++ b/dom/flex/test/chrome/test_flex_lines.html
@@ -92,31 +92,31 @@ function testLineMatchesExpectedValues(l
 }
 
 function runTests() {
   let expectedValues = [
     // items don't fill container, no grow, shrink, or min-width
     [{ crossStart: 0,
        crossSize: 42,
        itemCount: 2,
-       growthState: "unchanged" }],
+       growthState: "growing" }],
     [{ crossStart: 0,
        crossSize: 42,
        itemCount: 3,
-       growthState: "unchanged" }],
+       growthState: "growing" }],
 
     // items don't fill container, no grow, shrink, or min-width, with wrap and align-content:center -->
     [{ crossStart: 13.5,
        crossSize: 15,
        itemCount: 2,
-       growthState: "unchanged" }],
+       growthState: "growing" }],
     [{ crossStart: 13.5,
        crossSize: 15,
        itemCount: 3,
-       growthState: "unchanged" }],
+       growthState: "growing" }],
 
     // items don't fill container, with grow
     [{ crossStart: 0,
        crossSize: 42,
        itemCount: 3,
        growthState: "growing" }],
     [{ crossStart: 0,
        crossSize: 42,
@@ -152,33 +152,33 @@ function runTests() {
     // items overfill container, with shrink and sometimes with wrap
     [{ crossStart: 0,
        crossSize: 42,
        itemCount: 3,
        growthState: "shrinking" }],
     [{ crossStart: 0,
        crossSize: 21,
        itemCount: 2,
-       growthState: "unchanged" },
+       growthState: "growing" },
      { crossStart: 21,
        crossSize: 21,
        itemCount: 1,
-       growthState: "unchanged" }],
+       growthState: "growing" }],
     [{ crossStart: 0,
        crossSize: 42,
        itemCount: 4,
        growthState: "shrinking" }],
     [{ crossStart: 0,
        crossSize: 21,
        itemCount: 2,
-       growthState: "unchanged" },
+       growthState: "growing" },
      { crossStart: 21,
        crossSize: 21,
        itemCount: 2,
-       growthState: "unchanged" }],
+       growthState: "growing" }],
 
     // items overfill container, with wrap and different types of align-content
     [{ crossStart: 0,
        crossSize: 26,
        itemCount: 3 },
      { crossStart: 26,
        crossSize: 16,
        itemCount: 1 }],