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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/transforms/hit-test-large-scale.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 <!DOCTYPE html>
2 <html>
3 <head>
4 <script>
5 if (window.testRunner)
6 window.testRunner.dumpAsText()
7
8 function runTest()
9 {
10 document.body.offsetWidth;
11 var elt = document.elementFromPoint(130, 130);
12 if (elt == document.getElementById('progress'))
13 document.getElementById('console').innerHTML = 'PASS';
14 else
15 document.getElementById('console').innerHTML = 'FAIL';
16 }
17 </script>
18 <style type="text/css">
19 #progress {
20 width: 2px;
21 height: 2px;
22 margin: 10px;
23 transform: scale(60);
24 -webkit-transform-origin: 0 0;
25 background-color: blue;
26 }
27
28 #progress:hover {
29 background-color: red;
30 }
31 </style>
32 </head>
33 <body onload="runTest()">
34 <p>The blue box only responds to hover over some of its area. It has a scale () transform</p>
35 <div id="progress"></div>
36
37 <div id="console"></div>
38 </body>
39 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698