зеркало из https://github.com/mozilla/gecko-dev.git
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 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
29992e3858
Коммит
e7dc869f77
|
@ -97,21 +97,21 @@ function runTests() {
|
|||
[{ 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,
|
||||
|
@ -157,11 +157,11 @@ function runTests() {
|
|||
[{ 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,
|
||||
|
@ -169,11 +169,11 @@ function runTests() {
|
|||
[{ 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,
|
||||
|
|
Загрузка…
Ссылка в новой задаче