OLD | NEW |
1 <!DOCTYPE HTML> | 1 <!DOCTYPE HTML> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <title>-webkit-columns shorthand getPropertyValue test</title> | 4 <title>-webkit-columns shorthand getPropertyValue test</title> |
5 <style> | 5 <style> |
6 .test { | 6 .test { |
7 width: 100px; | 7 width: 100px; |
8 height: 100px; | 8 height: 100px; |
9 } | 9 } |
10 </style> | 10 </style> |
(...skipping 22 matching lines...) Expand all Loading... |
33 } | 33 } |
34 | 34 |
35 shouldBeEqualToString('webkitColumnsValue("columns1")', '10px auto'); | 35 shouldBeEqualToString('webkitColumnsValue("columns1")', '10px auto'); |
36 shouldBeEqualToString('webkitColumnsValue("columns2")', 'auto 10'); | 36 shouldBeEqualToString('webkitColumnsValue("columns2")', 'auto 10'); |
37 shouldBeEqualToString('webkitColumnsValue("columns3")', '10px auto'); | 37 shouldBeEqualToString('webkitColumnsValue("columns3")', '10px auto'); |
38 shouldBeEqualToString('webkitColumnsValue("columns4")', 'auto auto'); | 38 shouldBeEqualToString('webkitColumnsValue("columns4")', 'auto auto'); |
39 shouldBeEqualToString('webkitColumnsValue("columns5")', 'auto 2'); | 39 shouldBeEqualToString('webkitColumnsValue("columns5")', 'auto 2'); |
40 shouldBeEqualToString('webkitColumnsValue("columns6")', '10px 2'); | 40 shouldBeEqualToString('webkitColumnsValue("columns6")', '10px 2'); |
41 shouldBeEqualToString('webkitColumnsValue("columns7")', 'auto auto'); | 41 shouldBeEqualToString('webkitColumnsValue("columns7")', 'auto auto'); |
42 debug("NOTE: 'foo' is an illegal CSS value for '-webkit-columns'."); | 42 debug("NOTE: 'foo' is an illegal CSS value for '-webkit-columns'."); |
43 shouldBe('webkitColumnsValue("columns8")', "null"); | 43 shouldBeEqualToString('webkitColumnsValue("columns8")', ""); |
44 debug("NOTE: If only few longhand properties are specified, getPropertyVal
ue for shorthand property returns null.") | 44 debug("NOTE: If only few longhand properties are specified, getPropertyVal
ue for shorthand property returns empty string.") |
45 shouldBe('webkitColumnsValue("columns9")', "null"); | 45 shouldBeEqualToString('webkitColumnsValue("columns9")', ""); |
46 </script> | 46 </script> |
47 </body> | 47 </body> |
48 </html> | 48 </html> |
OLD | NEW |