Upstream version 7.35.144.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / fast / sub-pixel / client-width-height-snapping.html
1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
2 <html>
3 <head>
4 <script src="../../resources/js-test.js"></script>
5 </head>
6 <body>
7 <div id="TestDiv" style="position: absolute; left: 10.4px; top: 10.4px; width: 10.4px; height: 10.4px;"></div>
8 <script>
9
10 var div = document.getElementById("TestDiv");
11
12 shouldBe('div.clientWidth', '11');
13 shouldBe('div.clientHeight', '11');
14
15 </script>
16 <script>
17 if (window.testRunner)
18     testRunner.notifyDone();
19 </script>
20 </body>
21 </html>