8 justify-content: flex-end true;
9 align-content: center safe;
12 justify-content: space-between;
13 align-content: space-around;
16 <script src=
"../../resources/js-test.js"></script>
18 <div id=
"childOfDefaultParent" class=
"child"></div>
20 <div id=
"parentId" class=
"parent">
21 <div id=
"childOfParentId" class=
"child"></div>
23 <script src=
"resources/alignment-parsing-utils.js"></script>
25 description('Test overwriting justify-content and align-content works as expected');
27 var childOfDefaultParent
= document
.getElementById("childOfDefaultParent");
28 shouldBeEqualToString("getComputedStyle(childOfDefaultParent, '').getPropertyValue('justify-content')", "flex-end true");
29 shouldBeEqualToString("getComputedStyle(childOfDefaultParent, '').getPropertyValue('align-content')", "center safe");
31 var childOfParentId
= document
.getElementById("childOfParentId");
32 shouldBeEqualToString("getComputedStyle(childOfParentId, '').getPropertyValue('justify-content')", "space-between");
33 shouldBeEqualToString("getComputedStyle(childOfParentId, '').getPropertyValue('align-content')", "space-around");