Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / hidpi / border-background-align.html
blob95c52f7e6cbce63bb6574f2f5539b0bfbdf5b68d
1 <!DOCTYPE html>
2 <head>
3 <style>
4 .d1 {
5 position: absolute;
6 left: 10.5px;
7 width: 100px;
8 height: 100px;
9 background-color: red;
10 border: 1px solid green;
13 .d2 {
14 background-color: green;
15 width: 100%;
16 height: 100%;
18 </style>
19 </head>
21 <body onload="startTest()">
22 <div class="d1"><div class="d2"></div></div>
25 <script>
26 function startTest() {
27 if (window.testRunner) {
28 testRunner.waitUntilDone();
29 testRunner.setBackingScaleFactor(2, finishTest);
33 function finishTest() {
34 setTimeout(function() { testRunner.notifyDone() }, 0);
36 </script>
37 </body>