OLD | NEW |
1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> | 1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <script src="../../resources/js-test.js"></script> | 4 <script src="../../resources/js-test.js"></script> |
5 </head> | 5 </head> |
6 <body> | 6 <body> |
7 <div id="flexbox"> | 7 <div id="flexbox"> |
8 <div id="flexitem"></div> | 8 <div id="flexitem"></div> |
9 </div> | 9 </div> |
10 <script> | 10 <script> |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
75 shouldBeEqualToString('flexbox.style.webkitJustifyContent', 'space-between'); | 75 shouldBeEqualToString('flexbox.style.webkitJustifyContent', 'space-between'); |
76 shouldBeEqualToString('window.getComputedStyle(flexbox, null).webkitJustifyConte
nt', 'space-between'); | 76 shouldBeEqualToString('window.getComputedStyle(flexbox, null).webkitJustifyConte
nt', 'space-between'); |
77 | 77 |
78 flexbox.style.webkitJustifyContent = ''; | 78 flexbox.style.webkitJustifyContent = ''; |
79 shouldBeEqualToString('flexbox.style.webkitJustifyContent', ''); | 79 shouldBeEqualToString('flexbox.style.webkitJustifyContent', ''); |
80 shouldBeEqualToString('window.getComputedStyle(flexbox, null).webkitJustifyConte
nt', 'flex-start'); | 80 shouldBeEqualToString('window.getComputedStyle(flexbox, null).webkitJustifyConte
nt', 'flex-start'); |
81 | 81 |
82 shouldBeEqualToString('flexbox.style.webkitAlignSelf', ''); | 82 shouldBeEqualToString('flexbox.style.webkitAlignSelf', ''); |
83 // The initial value is 'auto', which will be resolved depending on parent's sty
le (except for the 'document' element). | 83 // The initial value is 'auto', which will be resolved depending on parent's sty
le (except for the 'document' element). |
84 shouldBeEqualToString('window.getComputedStyle(flexbox, null).alignSelf', 'start
'); | 84 shouldBeEqualToString('window.getComputedStyle(flexbox, null).alignSelf', 'start
'); |
85 shouldBeEqualToString('window.getComputedStyle(document.documentElement, null).a
lignSelf', 'start'); | 85 shouldBeEqualToString('window.getComputedStyle(document.documentElement, null).a
lignSelf', 'auto'); |
86 | 86 |
87 flexbox.style.webkitAlignSelf = 'foo'; | 87 flexbox.style.webkitAlignSelf = 'foo'; |
88 shouldBeEqualToString('flexbox.style.webkitAlignSelf', ''); | 88 shouldBeEqualToString('flexbox.style.webkitAlignSelf', ''); |
89 shouldBeEqualToString('window.getComputedStyle(flexbox, null).alignSelf', 'start
'); | 89 shouldBeEqualToString('window.getComputedStyle(flexbox, null).alignSelf', 'start
'); |
90 | 90 |
91 flexbox.style.webkitAlignSelf = 'auto'; | 91 flexbox.style.webkitAlignSelf = 'auto'; |
92 shouldBeEqualToString('flexbox.style.webkitAlignSelf', 'auto'); | 92 shouldBeEqualToString('flexbox.style.webkitAlignSelf', 'auto'); |
93 shouldBeEqualToString('window.getComputedStyle(flexbox, null).alignSelf', 'start
'); | 93 shouldBeEqualToString('window.getComputedStyle(flexbox, null).alignSelf', 'start
'); |
94 | 94 |
95 flexbox.style.webkitAlignSelf = 'flex-start'; | 95 flexbox.style.webkitAlignSelf = 'flex-start'; |
(...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
307 flexbox.style.webkitAlignContent = ''; | 307 flexbox.style.webkitAlignContent = ''; |
308 shouldBeEqualToString('flexbox.style.webkitAlignContent', ''); | 308 shouldBeEqualToString('flexbox.style.webkitAlignContent', ''); |
309 shouldBeEqualToString('window.getComputedStyle(flexbox, null).webkitAlignContent
', 'stretch'); | 309 shouldBeEqualToString('window.getComputedStyle(flexbox, null).webkitAlignContent
', 'stretch'); |
310 | 310 |
311 flexbox.style.webkitAlignContent = 'foo'; | 311 flexbox.style.webkitAlignContent = 'foo'; |
312 shouldBeEqualToString('flexbox.style.webkitAlignContent', ''); | 312 shouldBeEqualToString('flexbox.style.webkitAlignContent', ''); |
313 shouldBeEqualToString('window.getComputedStyle(flexbox, null).webkitAlignContent
', 'stretch'); | 313 shouldBeEqualToString('window.getComputedStyle(flexbox, null).webkitAlignContent
', 'stretch'); |
314 </script> | 314 </script> |
315 </body> | 315 </body> |
316 </html> | 316 </html> |
OLD | NEW |