| OLD | NEW |
| 1 <!DOCTYPE HTML> | 1 <!DOCTYPE HTML> |
| 2 </html> | 2 </html> |
| 3 <head> | 3 <head> |
| 4 <title>-webkit-text-stroke shorthand getPropertyValue test</title> | 4 <title>-webkit-text-stroke shorthand getPropertyValue test</title> |
| 5 <style> | 5 <style> |
| 6 .test { | 6 .test { |
| 7 width: 5em; | 7 width: 5em; |
| 8 height: 10em; | 8 height: 10em; |
| 9 } | 9 } |
| 10 </style> | 10 </style> |
| (...skipping 22 matching lines...) Expand all Loading... |
| 33 shouldBeEqualToString('webkitTextStrokeValue("text-stroke1")', 'thin red')
; | 33 shouldBeEqualToString('webkitTextStrokeValue("text-stroke1")', 'thin red')
; |
| 34 shouldBeEqualToString('webkitTextStrokeValue("text-stroke2")', 'green'); | 34 shouldBeEqualToString('webkitTextStrokeValue("text-stroke2")', 'green'); |
| 35 shouldBeEqualToString('webkitTextStrokeValue("text-stroke3")', 'thin'); | 35 shouldBeEqualToString('webkitTextStrokeValue("text-stroke3")', 'thin'); |
| 36 shouldBeEqualToString('webkitTextStrokeValue("text-stroke4")', '1px red'); | 36 shouldBeEqualToString('webkitTextStrokeValue("text-stroke4")', '1px red'); |
| 37 shouldBeEqualToString('webkitTextStrokeValue("text-stroke5")', '1px black'
); | 37 shouldBeEqualToString('webkitTextStrokeValue("text-stroke5")', '1px black'
); |
| 38 debug("NOTE: 'foo' is an illegal CSS value for '-webkit-text-stroke'."); | 38 debug("NOTE: 'foo' is an illegal CSS value for '-webkit-text-stroke'."); |
| 39 shouldBe('webkitTextStrokeValue("text-stroke6")', "null"); | 39 shouldBe('webkitTextStrokeValue("text-stroke6")', "null"); |
| 40 debug("NOTE: If only few longhand properties are specified, getPropertyVal
ue for shorthand property returns null.") | 40 debug("NOTE: If only few longhand properties are specified, getPropertyVal
ue for shorthand property returns null.") |
| 41 shouldBe('webkitTextStrokeValue("text-stroke7")', "null"); | 41 shouldBe('webkitTextStrokeValue("text-stroke7")', "null"); |
| 42 </script> | 42 </script> |
| 43 <script src="../js/resources/js-test-post.js"></script> | |
| 44 </body> | 43 </body> |
| 45 </html> | 44 </html> |
| OLD | NEW |