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 <link href="resources/flexbox.css" rel="stylesheet"> | 4 <link href="resources/flexbox.css" rel="stylesheet"> |
5 <script src="../../fast/js/resources/js-test-pre.js"></script> | 5 <script src="../../fast/js/resources/js-test-pre.js"></script> |
6 </head> | 6 </head> |
7 <body> | 7 <body> |
8 <div class="flexbox" id="flexbox"></div> | 8 <div class="flexbox" id="flexbox"></div> |
9 <div class="inline-flexbox" id="flexboxInline"></div> | 9 <div class="inline-flexbox" id="flexboxInline"></div> |
10 <script> | 10 <script> |
(...skipping 16 matching lines...) Expand all Loading... |
27 element = document.createElement("div"); | 27 element = document.createElement("div"); |
28 document.body.appendChild(element); | 28 document.body.appendChild(element); |
29 shouldBe("getComputedStyle(element, '').getPropertyValue('display')", "'block'")
; | 29 shouldBe("getComputedStyle(element, '').getPropertyValue('display')", "'block'")
; |
30 element.style.display = "inline-flex"; | 30 element.style.display = "inline-flex"; |
31 shouldBe("getComputedStyle(element, '').getPropertyValue('display')", "'inline-f
lex'"); | 31 shouldBe("getComputedStyle(element, '').getPropertyValue('display')", "'inline-f
lex'"); |
32 element.style.display = "-webkit-flex"; | 32 element.style.display = "-webkit-flex"; |
33 shouldBe("getComputedStyle(element, '').getPropertyValue('display')", "'flex'"); | 33 shouldBe("getComputedStyle(element, '').getPropertyValue('display')", "'flex'"); |
34 element.style.display = "-webkit-inline-flex"; | 34 element.style.display = "-webkit-inline-flex"; |
35 shouldBe("getComputedStyle(element, '').getPropertyValue('display')", "'inline-f
lex'"); | 35 shouldBe("getComputedStyle(element, '').getPropertyValue('display')", "'inline-f
lex'"); |
36 </script> | 36 </script> |
37 <script src="../../fast/js/resources/js-test-post.js"></script> | |
38 </body> | 37 </body> |
39 </html> | 38 </html> |
OLD | NEW |