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="../../fast/js/resources/js-test-pre.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> |
11 description('Tests being able to set the display to -webkit-flex and -webkit-inl
ine-flex.'); | 11 description('Tests being able to set the display to -webkit-flex and -webkit-inl
ine-flex.'); |
12 | 12 |
13 var flexbox = document.getElementById("flexbox"); | 13 var flexbox = document.getElementById("flexbox"); |
14 | 14 |
(...skipping 285 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
300 flexbox.style.webkitAlignContent = ''; | 300 flexbox.style.webkitAlignContent = ''; |
301 shouldBeEqualToString('flexbox.style.webkitAlignContent', ''); | 301 shouldBeEqualToString('flexbox.style.webkitAlignContent', ''); |
302 shouldBeEqualToString('window.getComputedStyle(flexbox, null).webkitAlignContent
', 'stretch'); | 302 shouldBeEqualToString('window.getComputedStyle(flexbox, null).webkitAlignContent
', 'stretch'); |
303 | 303 |
304 flexbox.style.webkitAlignContent = 'foo'; | 304 flexbox.style.webkitAlignContent = 'foo'; |
305 shouldBeEqualToString('flexbox.style.webkitAlignContent', ''); | 305 shouldBeEqualToString('flexbox.style.webkitAlignContent', ''); |
306 shouldBeEqualToString('window.getComputedStyle(flexbox, null).webkitAlignContent
', 'stretch'); | 306 shouldBeEqualToString('window.getComputedStyle(flexbox, null).webkitAlignContent
', 'stretch'); |
307 </script> | 307 </script> |
308 </body> | 308 </body> |
309 </html> | 309 </html> |
OLD | NEW |