|
19 | 19 | test(function() {
|
20 | 20 | element = document.createElement("div");
|
21 | 21 | document.body.appendChild(element);
|
22 |
| - checkValues(element, "justifyItems", "justify-items", "", "legacy"); |
| 22 | + checkValues(element, "justifyItems", "justify-items", "", "normal"); |
23 | 23 | }, "Test 'initial' value when nothing is specified");
|
24 | 24 |
|
25 | 25 | test(function() {
|
26 | 26 | container.style.display = "";
|
27 |
| - checkInitialValues(element, "justifyItems", "justify-items", "center", "legacy"); |
| 27 | + checkInitialValues(element, "justifyItems", "justify-items", "center", "normal"); |
28 | 28 | }, "Test justify-items: 'initial'");
|
29 | 29 |
|
30 | 30 | test(function() {
|
31 | 31 | container.style.display = "grid";
|
32 |
| - checkInitialValues(element, "justifyItems", "justify-items", "safe start", "legacy"); |
| 32 | + checkInitialValues(element, "justifyItems", "justify-items", "safe start", "normal"); |
33 | 33 | }, "Test grid items justify-items: 'initial'");
|
34 | 34 |
|
35 | 35 | test(function() {
|
36 | 36 | container.style.display = "flex";
|
37 |
| - checkInitialValues(element, "justifyItems", "justify-items", "unsafe end", "legacy"); |
| 37 | + checkInitialValues(element, "justifyItems", "justify-items", "unsafe end", "normal"); |
38 | 38 | }, "Test flex items justify-items: 'initial'");
|
39 | 39 |
|
40 | 40 | test(function() {
|
41 | 41 | container.style.display = "";
|
42 | 42 | element.style.position = "absolute";
|
43 |
| - checkInitialValues(element, "justifyItems", "justify-items", "start", "legacy"); |
| 43 | + checkInitialValues(element, "justifyItems", "justify-items", "start", "normal"); |
44 | 44 | }, "Test absolute positioned elements justify-items: 'initial'");
|
45 | 45 |
|
46 | 46 | test(function() {
|
47 | 47 | container.style.display = "grid";
|
48 | 48 | element.style.position = "absolute";
|
49 |
| - checkInitialValues(element, "justifyItems", "justify-items", "end", "legacy"); |
| 49 | + checkInitialValues(element, "justifyItems", "justify-items", "end", "normal"); |
50 | 50 | }, "Test absolute positioned grid items justify-items: 'initial'");
|
51 | 51 |
|
52 | 52 | test(function() {
|
53 | 53 | container.style.display = "flex";
|
54 | 54 | element.style.position = "absolute";
|
55 |
| - checkInitialValues(element, "justifyItems", "justify-items", "end", "legacy"); |
| 55 | + checkInitialValues(element, "justifyItems", "justify-items", "end", "normal"); |
56 | 56 | }, "Test absolute positioned flex items justify-items: 'initial'");
|
57 | 57 | </script>
|
0 commit comments