Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / fast / sub-pixel / cssom-subpixel-precision-expected.html
1 <!DOCTYPE html>
2 <html>
3 <head>
4     <title>client rect precision test</title>
5     <style> 
6         #test {
7             width: 5px;
8             height: 5px;
9             background: navy;
10         }
11     </style>
12 </head>
13 <body>
14     <div id="test"></div>
15     <div id="console">
16         Box above should be 5x5px.<br>
17         PASS: getBoundingClientRect, clientWidth, and offsetWidth reports width with subpixel precision (4.5).<br>
18         PASS: getBoundingClientRect, clientHeight, and offsetHeight reports height with subpixel precision (4.5).<br>
19     </div>
20 </body>
21 </html>