OLD | NEW |
(Empty) | |
| 1 <html> |
| 2 <head> |
| 3 <script src="../../../resources/js-test.js"></script> |
| 4 </head> |
| 5 <body style="border: 1px; -webkit-box-sizing: border-box"> |
| 6 <script> |
| 7 |
| 8 shouldBeUndefined("document.body.style['BorderTopWidth']"); |
| 9 shouldBeEqualToString("document.body.style['borderTopWidth']", "1px"); |
| 10 shouldBeUndefined("document.body.style['border-topWidth']"); |
| 11 shouldBeUndefined("document.body.style['border-TopWidth']"); |
| 12 shouldBeUndefined("document.body.style['borderTop-width']"); |
| 13 shouldBeUndefined("document.body.style['borderTop-Width']"); |
| 14 shouldBeEqualToString("document.body.style['border-top-width']", "1px"); |
| 15 shouldBeEqualToString("document.body.style['CssBorderTopWidth']", "1px"); |
| 16 shouldBeEqualToString("document.body.style['cssBorderTopWidth']", "1px"); |
| 17 shouldBeUndefined("document.body.style['cssborderTopWidth']"); |
| 18 shouldBeUndefined("document.body.style['cssBorder-top-width']"); |
| 19 shouldBeUndefined("document.body.style['css-border-top-width']"); |
| 20 |
| 21 shouldBeEqualToString("document.body.style['WebkitBoxSizing']", "border-box"); |
| 22 shouldBeEqualToString("document.body.style['webkitBoxSizing']", "border-box"); |
| 23 shouldBeUndefined("document.body.style['webkit-boxSizing']"); |
| 24 shouldBeUndefined("document.body.style['webkit-BoxSizing']"); |
| 25 shouldBeUndefined("document.body.style['webkitBox-sizing']"); |
| 26 shouldBeUndefined("document.body.style['webkitBox-Sizing']"); |
| 27 shouldBeEqualToString("document.body.style['-webkit-box-sizing']", "border-box")
; |
| 28 shouldBeUndefined("document.body.style['cssWebkitBorderBoxSizing']"); |
| 29 |
| 30 </script> |
| 31 </body> |
| 32 </html> |
OLD | NEW |