Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / transforms / transform-hit-test-flipped.html
blob660b7fd1a29b3983e7b4615ada3704228d7c5b6a
1 <html>
2 <head>
3 <style>
4 #rotated {
5 width: 100px;
6 height: 100px;
7 background: red;
8 margin: 10px;
9 padding: 10px;
10 transform: rotate(180deg);
12 </style>
13 <script>
14 if (window.testRunner)
15 window.testRunner.dumpAsText()
17 function runTest()
19 document.body.offsetWidth;
20 var elt = document.elementFromPoint(50, 50);
21 if (elt == document.getElementById('rotated'))
22 document.getElementById('console').innerHTML = 'PASS';
23 else
24 document.getElementById('console').innerHTML = 'FAIL';
25 elt.style.display = 'none';
27 </script>
28 </head>
29 <body onload="runTest()">
30 <div id="rotated">180 degree rotation</div>
31 <div id="console"></div>
32 </body>
33 </html>