Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / block / float / relative-painted-twice.html
blob6d1917ecff8d23e7b816860ce75dd503fc1f1e6d
1 <body style="height: 2000px;">
2 <div style="height: 150px;">
3 <div style="position: relative; top: 50px;">
4 <div id="target" onclick="fail()" style="float: left; background-color: rgba(0, 0, 0, 0.5); width: 100px; height: 100px;"></div>
5 </div>
6 </div>
7 <script>document.body.offsetTop;</script>
8 <div></div>
9 <script>
10 function fail()
12 document.getElementById("target").style.backgroundColor = "red";
15 if (window.testRunner) {
16 eventSender.mouseMoveTo(25, 25);
17 eventSender.mouseDown();
18 eventSender.mouseUp();
20 </script>
21 </body>