OLD | NEW |
1 <!DOCTYPE HTML> | 1 <!DOCTYPE HTML> |
2 </html> | 2 </html> |
3 <head> | 3 <head> |
4 <title>-webkit-margin-collapse shorthand getPropertyValue test</title> | 4 <title>-webkit-margin-collapse shorthand getPropertyValue test</title> |
5 <style> | 5 <style> |
6 .test { | 6 .test { |
7 display: inline-block; | 7 display: inline-block; |
8 width: 5em; | 8 width: 5em; |
9 height: 10em; | 9 height: 10em; |
10 } | 10 } |
(...skipping 19 matching lines...) Expand all Loading... |
30 } | 30 } |
31 | 31 |
32 shouldBe('webkitMarginCollapseValue("margin-collapse1")', "'collapse separ
ate'"); | 32 shouldBe('webkitMarginCollapseValue("margin-collapse1")', "'collapse separ
ate'"); |
33 shouldBe('webkitMarginCollapseValue("margin-collapse2")', "'discard discar
d'"); | 33 shouldBe('webkitMarginCollapseValue("margin-collapse2")', "'discard discar
d'"); |
34 shouldBe('webkitMarginCollapseValue("margin-collapse3")', "'discard separa
te'"); | 34 shouldBe('webkitMarginCollapseValue("margin-collapse3")', "'discard separa
te'"); |
35 debug("NOTE: 'foo' is an illegal CSS value for '-webkit-margin-collapse'."
); | 35 debug("NOTE: 'foo' is an illegal CSS value for '-webkit-margin-collapse'."
); |
36 shouldBe('webkitMarginCollapseValue("margin-collapse4")', "null"); | 36 shouldBe('webkitMarginCollapseValue("margin-collapse4")', "null"); |
37 debug("NOTE: If only few longhand properties are specified, getPropertyVal
ue for shorthand property returns null.") | 37 debug("NOTE: If only few longhand properties are specified, getPropertyVal
ue for shorthand property returns null.") |
38 shouldBe('webkitMarginCollapseValue("margin-collapse5")', "null"); | 38 shouldBe('webkitMarginCollapseValue("margin-collapse5")', "null"); |
39 </script> | 39 </script> |
40 <script src="../js/resources/js-test-post.js"></script> | |
41 </body> | 40 </body> |
42 </html> | 41 </html> |
OLD | NEW |