OLD | NEW |
1 Test that setting and getting justify-items works as expected | 1 Test that setting and getting justify-items works as expected |
2 | 2 |
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
4 | 4 |
5 | 5 |
6 Test getting justify-items set through CSS | 6 Test getting justify-items set through CSS |
7 PASS getComputedStyle(justifyItemsBaseline, '').getPropertyValue('justify-items'
) is 'baseline' | 7 PASS getComputedStyle(justifyItemsBaseline, '').getPropertyValue('justify-items'
) is 'baseline' |
8 PASS getComputedStyle(justifyItemsLastBaseline, '').getPropertyValue('justify-it
ems') is 'last-baseline' | 8 PASS getComputedStyle(justifyItemsLastBaseline, '').getPropertyValue('justify-it
ems') is 'last-baseline' |
9 PASS getComputedStyle(justifyItemsStretch, '').getPropertyValue('justify-items')
is 'stretch' | 9 PASS getComputedStyle(justifyItemsStretch, '').getPropertyValue('justify-items')
is 'stretch' |
10 PASS getComputedStyle(justifyItemsStart, '').getPropertyValue('justify-items') i
s 'start' | 10 PASS getComputedStyle(justifyItemsStart, '').getPropertyValue('justify-items') i
s 'start' |
(...skipping 14 matching lines...) Expand all Loading... |
25 PASS getComputedStyle(justifyItemsFlexStartUnsafe, '').getPropertyValue('justify
-items') is 'flex-start unsafe' | 25 PASS getComputedStyle(justifyItemsFlexStartUnsafe, '').getPropertyValue('justify
-items') is 'flex-start unsafe' |
26 PASS getComputedStyle(justifyItemsFlexEndSafe, '').getPropertyValue('justify-ite
ms') is 'flex-end safe' | 26 PASS getComputedStyle(justifyItemsFlexEndSafe, '').getPropertyValue('justify-ite
ms') is 'flex-end safe' |
27 PASS getComputedStyle(justifyItemsLegacyLeft, '').getPropertyValue('justify-item
s') is 'legacy left' | 27 PASS getComputedStyle(justifyItemsLegacyLeft, '').getPropertyValue('justify-item
s') is 'legacy left' |
28 PASS getComputedStyle(justifyItemsLegacyCenter, '').getPropertyValue('justify-it
ems') is 'legacy center' | 28 PASS getComputedStyle(justifyItemsLegacyCenter, '').getPropertyValue('justify-it
ems') is 'legacy center' |
29 PASS getComputedStyle(justifyItemsLegacyRight, '').getPropertyValue('justify-ite
ms') is 'legacy right' | 29 PASS getComputedStyle(justifyItemsLegacyRight, '').getPropertyValue('justify-ite
ms') is 'legacy right' |
30 PASS getComputedStyle(justifyItemsLeftLegacy, '').getPropertyValue('justify-item
s') is 'legacy left' | 30 PASS getComputedStyle(justifyItemsLeftLegacy, '').getPropertyValue('justify-item
s') is 'legacy left' |
31 PASS getComputedStyle(justifyItemsCenterLegacy, '').getPropertyValue('justify-it
ems') is 'legacy center' | 31 PASS getComputedStyle(justifyItemsCenterLegacy, '').getPropertyValue('justify-it
ems') is 'legacy center' |
32 PASS getComputedStyle(justifyItemsRightLegacy, '').getPropertyValue('justify-ite
ms') is 'legacy right' | 32 PASS getComputedStyle(justifyItemsRightLegacy, '').getPropertyValue('justify-ite
ms') is 'legacy right' |
33 | 33 |
34 Test initial value of justify-items through JS | 34 Test initial value of justify-items through JS |
35 PASS getComputedStyle(element, '').getPropertyValue('justify-items') is 'start' | 35 PASS getComputedStyle(element, '').getPropertyValue('justify-items') is 'normal' |
36 | 36 |
37 Test getting and setting justify-items through JS | 37 Test getting and setting justify-items through JS |
38 PASS element.style.justifyItems is "center" | 38 PASS element.style.justifyItems is "center" |
39 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
center" | 39 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
center" |
40 PASS element.style.justifyItems is "start unsafe" | 40 PASS element.style.justifyItems is "start unsafe" |
41 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
start unsafe" | 41 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
start unsafe" |
42 PASS element.style.justifyItems is "flex-end safe" | 42 PASS element.style.justifyItems is "flex-end safe" |
43 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
flex-end safe" | 43 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
flex-end safe" |
44 PASS element.style.justifyItems is "legacy right" | 44 PASS element.style.justifyItems is "legacy right" |
45 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
legacy right" | 45 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
legacy right" |
46 PASS element.style.justifyItems is "legacy center" | 46 PASS element.style.justifyItems is "legacy center" |
47 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
legacy center" | 47 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
legacy center" |
48 PASS element.style.justifyItems is "legacy left" | 48 PASS element.style.justifyItems is "legacy left" |
49 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
legacy left" | 49 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
legacy left" |
50 PASS element.style.justifyItems is "auto" | 50 PASS element.style.justifyItems is "auto" |
51 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
start" | 51 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
normal" |
52 PASS element.style.justifyItems is "auto" | 52 PASS element.style.justifyItems is "auto" |
53 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
stretch" | 53 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
normal" |
54 PASS element.style.justifyItems is "auto" | 54 PASS element.style.justifyItems is "auto" |
55 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
stretch" | 55 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
normal" |
56 PASS element.style.justifyItems is "self-end" | 56 PASS element.style.justifyItems is "self-end" |
57 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
self-end" | 57 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
self-end" |
58 | 58 |
| 59 Test 'auto' value resolution for the root node |
| 60 PASS element.style.justifyItems is "auto" |
| 61 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
normal" |
| 62 |
59 Test bad combinations of justify-items | 63 Test bad combinations of justify-items |
60 PASS element.style.justifyItems is "" | 64 PASS element.style.justifyItems is "" |
61 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
start" | 65 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
normal" |
62 PASS element.style.justifyItems is "" | 66 PASS element.style.justifyItems is "" |
63 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
start" | 67 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
normal" |
64 PASS element.style.justifyItems is "" | 68 PASS element.style.justifyItems is "" |
65 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
start" | 69 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
normal" |
66 PASS element.style.justifyItems is "" | 70 PASS element.style.justifyItems is "" |
67 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
start" | 71 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
normal" |
68 PASS element.style.justifyItems is "" | 72 PASS element.style.justifyItems is "" |
69 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
start" | 73 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
normal" |
70 PASS element.style.justifyItems is "" | 74 PASS element.style.justifyItems is "" |
71 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
start" | 75 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
normal" |
72 PASS element.style.justifyItems is "" | 76 PASS element.style.justifyItems is "" |
73 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
start" | 77 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
normal" |
74 PASS element.style.justifyItems is "" | 78 PASS element.style.justifyItems is "" |
75 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
start" | 79 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
normal" |
76 PASS element.style.justifyItems is "" | 80 PASS element.style.justifyItems is "" |
77 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
start" | 81 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
normal" |
78 PASS element.style.justifyItems is "" | 82 PASS element.style.justifyItems is "" |
79 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
start" | 83 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
normal" |
80 PASS element.style.justifyItems is "" | 84 PASS element.style.justifyItems is "" |
81 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
start" | 85 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
normal" |
82 PASS element.style.justifyItems is "" | 86 PASS element.style.justifyItems is "" |
83 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
start" | 87 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
normal" |
84 PASS element.style.justifyItems is "" | 88 PASS element.style.justifyItems is "" |
85 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
start" | 89 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
normal" |
86 PASS element.style.justifyItems is "" | 90 PASS element.style.justifyItems is "" |
87 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
start" | 91 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
normal" |
88 PASS element.style.justifyItems is "" | 92 PASS element.style.justifyItems is "" |
89 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
start" | 93 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
normal" |
90 PASS element.style.justifyItems is "" | 94 PASS element.style.justifyItems is "" |
91 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
start" | 95 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
normal" |
92 PASS element.style.justifyItems is "" | 96 PASS element.style.justifyItems is "" |
93 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
start" | 97 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
normal" |
94 PASS element.style.justifyItems is "" | 98 PASS element.style.justifyItems is "" |
95 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
start" | 99 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
normal" |
96 PASS element.style.justifyItems is "" | 100 PASS element.style.justifyItems is "" |
97 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
start" | 101 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
normal" |
98 PASS element.style.justifyItems is "" | 102 PASS element.style.justifyItems is "" |
99 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
start" | 103 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
normal" |
100 PASS element.style.justifyItems is "" | 104 PASS element.style.justifyItems is "" |
101 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
start" | 105 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
normal" |
102 PASS element.style.justifyItems is "" | 106 PASS element.style.justifyItems is "" |
103 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
start" | 107 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
normal" |
104 PASS element.style.justifyItems is "" | 108 PASS element.style.justifyItems is "" |
105 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
start" | 109 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
normal" |
106 PASS element.style.justifyItems is "" | 110 PASS element.style.justifyItems is "" |
107 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
start" | 111 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
normal" |
108 | 112 |
109 Test the value 'initial' | 113 Test the value 'initial' |
110 PASS element.style.justifyItems is "legacy center" | 114 PASS element.style.justifyItems is "legacy center" |
111 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
legacy center" | 115 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
legacy center" |
112 PASS element.style.justifyItems is "initial" | 116 PASS element.style.justifyItems is "initial" |
113 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
start" | 117 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
normal" |
114 | 118 |
115 Test the value 'initial' for grid containers | 119 Test the value 'initial' for grid containers |
116 PASS element.style.justifyItems is "left safe" | 120 PASS element.style.justifyItems is "left safe" |
117 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
left safe" | 121 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
left safe" |
118 PASS element.style.justifyItems is "initial" | 122 PASS element.style.justifyItems is "initial" |
119 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
stretch" | 123 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
normal" |
120 | 124 |
121 Test the value 'initial' for flex containers | 125 Test the value 'initial' for flex containers |
122 PASS element.style.justifyItems is "right unsafe" | 126 PASS element.style.justifyItems is "right unsafe" |
123 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
right unsafe" | 127 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
right unsafe" |
124 PASS element.style.justifyItems is "initial" | 128 PASS element.style.justifyItems is "initial" |
125 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
stretch" | 129 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
normal" |
126 | 130 |
127 Test the value 'inherit' | 131 Test the value 'inherit' |
128 PASS element.style.justifyItems is "end" | 132 PASS element.style.justifyItems is "end" |
129 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
end" | 133 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
end" |
130 PASS element.style.justifyItems is "inherit" | 134 PASS element.style.justifyItems is "inherit" |
131 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
end" | 135 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
end" |
132 PASS element.style.justifyItems is "left safe" | 136 PASS element.style.justifyItems is "left safe" |
133 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
left safe" | 137 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
left safe" |
134 PASS element.style.justifyItems is "inherit" | 138 PASS element.style.justifyItems is "inherit" |
135 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
left safe" | 139 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
left safe" |
(...skipping 12 matching lines...) Expand all Loading... |
148 PASS element.style.justifyItems is "" | 152 PASS element.style.justifyItems is "" |
149 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
legacy center" | 153 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
legacy center" |
150 PASS element.style.justifyItems is "legacy right" | 154 PASS element.style.justifyItems is "legacy right" |
151 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
legacy right" | 155 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
legacy right" |
152 PASS element.style.justifyItems is "" | 156 PASS element.style.justifyItems is "" |
153 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
legacy right" | 157 PASS window.getComputedStyle(element, '').getPropertyValue('justify-items') is "
legacy right" |
154 PASS successfullyParsed is true | 158 PASS successfullyParsed is true |
155 | 159 |
156 TEST COMPLETE | 160 TEST COMPLETE |
157 | 161 |
OLD | NEW |