Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(499)

Side by Side Diff: third_party/WebKit/LayoutTests/fast/transforms/transform-hit-test-flipped.html

Issue 2547723002: Merge LayoutTests fast/transforms in transforms (Closed)
Patch Set: Fix a bad path reference. Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
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);
11 }
12 </style>
13 <script>
14 if (window.testRunner)
15 window.testRunner.dumpAsText()
16
17 function runTest()
18 {
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';
26 }
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>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698