OLD | NEW |
(Empty) | |
| 1 <!doctype html> |
| 2 <html> |
| 3 <head> |
| 4 <script src="../../resources/js-test.js"></script> |
| 5 <style> |
| 6 .test { |
| 7 border-image-width: 2 3 4 5; |
| 8 border-image-width: -1; |
| 9 border-image-width: -1 2; |
| 10 border-image-width: 1 2 -0.1; |
| 11 border-image-width: 1 2 3 -0.1; |
| 12 |
| 13 border-image-outset: 6 7 8 9; |
| 14 border-image-outset: -1; |
| 15 border-image-outset: -1 2; |
| 16 border-image-outset: 1 2 -0.1; |
| 17 border-image-outset: 1 2 3 -0.1; |
| 18 |
| 19 border-style: solid; |
| 20 visibility: hidden; |
| 21 } |
| 22 </style> |
| 23 </head> |
| 24 <body> |
| 25 <div class="test"></div> |
| 26 <script> |
| 27 description("Test that negative border image width values are ignored"); |
| 28 var elm = document.querySelector('.test'); |
| 29 shouldBeEqualToString("getComputedStyle(elm).borderImageWidth", "2 3 4 5"); |
| 30 shouldBeEqualToString("getComputedStyle(elm).borderImageOutset", "6 7 8 9"); |
| 31 </script> |
| 32 </body> |
| 33 </html> |
OLD | NEW |