Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / dom / CSSStyleDeclaration / access-longest-css-property.html
blob0f10159b100355b7515d70565a55ca55c9b490f2
1 <html>
2 <head>
3 <script src="../../../resources/js-test.js"></script>
4 <style>
5 * {
6 -webkit-border-bottom-right-radius: 5px;
8 </style>
9 </head>
10 <body>
11 <div id="target" style="-webkit-border-bottom-right-radius: 5px;;"></div>
12 <!--
13 Note for updating the test:
14 Please replace '-webkit-border-bottom-right-radius' by the longest name if '-webkit-border-bottom-right-radius' is removed.
15 -->
16 <script>
17 description("The test parsing of the boundary value by checking the longest CSS property.");
18 shouldBeEqualToString('getComputedStyle(document.body).webkitBorderBottomRightRadius', '5px');
19 shouldBeEqualToString('document.getElementById("target").style.webkitBorderBottomRightRadius', '5px');
20 shouldBeEqualToString('document.body.style.webkitBorderBottomRightRadius', '');
21 </script>
22 </body>
23 </html>