OLD | NEW |
1 <html> | 1 <html> |
2 <head> | 2 <head> |
3 <script src="../../js/resources/js-test-pre.js"></script> | 3 <script src="../../js/resources/js-test-pre.js"></script> |
4 <style> | 4 <style> |
5 * { | 5 * { |
6 -webkit-border-bottom-right-radius: 5px; | 6 -webkit-border-bottom-right-radius: 5px; |
7 } | 7 } |
8 </style> | 8 </style> |
9 </head> | 9 </head> |
10 <body> | 10 <body> |
11 <div id="target" style="-webkit-border-bottom-right-radius: 5px;;"></div> | 11 <div id="target" style="-webkit-border-bottom-right-radius: 5px;;"></div> |
12 <!-- | 12 <!-- |
13 Note for updating the test: | 13 Note for updating the test: |
14 Please replace '-webkit-border-bottom-right-radius' by the longest name if '-web
kit-border-bottom-right-radius' is removed. | 14 Please replace '-webkit-border-bottom-right-radius' by the longest name if '-web
kit-border-bottom-right-radius' is removed. |
15 --> | 15 --> |
16 <script> | 16 <script> |
17 description("The test parsing of the boundary value by checking the longest CSS
property."); | 17 description("The test parsing of the boundary value by checking the longest CSS
property."); |
18 shouldBeEqualToString('getComputedStyle(document.body).webkitBorderBottomRightRa
dius', '5px'); | 18 shouldBeEqualToString('getComputedStyle(document.body).webkitBorderBottomRightRa
dius', '5px'); |
19 shouldBeEqualToString('document.getElementById("target").style.webkitBorderBotto
mRightRadius', '5px'); | 19 shouldBeEqualToString('document.getElementById("target").style.webkitBorderBotto
mRightRadius', '5px'); |
20 shouldBeEqualToString('document.body.style.webkitBorderBottomRightRadius', ''); | 20 shouldBeEqualToString('document.body.style.webkitBorderBottomRightRadius', ''); |
21 </script> | 21 </script> |
22 <script src="../../js/resources/js-test-post.js"></script> | |
23 </body> | 22 </body> |
24 </html> | 23 </html> |
OLD | NEW |