Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / sub-pixel / replaced-element-baseline.html
blob7026fc3c8c145fe88042bfb35b21279f6abb3a75
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <script src="../../resources/js-test.js"></script>
5 <style type='text/css'>
6 html, body {
7 margin: 0;
8 padding: 0;
10 input {
11 width: 100px;
12 height: 2em;
13 font-size: 12px;
14 border: 1px solid black;
16 #b {
17 position: absolute;
18 margin-left: 10px;
19 left: 110px;
22 </style>
23 </head>
24 <body>
25 <input id="a"></input><input id="b"></input>
26 <div id="console"></div>
27 </body>
28 <script>
29 shouldBe("document.getElementById('a').getBoundingClientRect().top", '0');
30 shouldBe("document.getElementById('b').getBoundingClientRect().top", '0');
31 </script>
32 </html>