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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/images/image-map-zoom.html

Issue 2496663002: Merge css3/image/ and fast/images/ to images/ (Closed)
Patch Set: Address failing tests (3 of them) Created 4 years, 1 month 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
3 <head>
4
5 <script>
6
7 function runTest()
8 {
9 if (!window.eventSender)
10 return;
11
12 testRunner.dumpAsText();
13
14 eventSender.mouseMoveTo(340, 140);
15 eventSender.mouseDown();
16 eventSender.mouseUp();
17 }
18
19 function setResult(message)
20 {
21 document.getElementById('result').firstChild.data = message;
22 }
23
24 </script>
25
26 </head>
27
28 <body onload="runTest()" style="margin:0; zoom: 2" onclick="setResult('FAILURE') ">
29
30 <map name="navmap">
31 <area shape=rect coords="30,30,70,70" href onclick="setResult('SUCCESS'); event. stopPropagation(); event.preventDefault();">
32 </map>
33
34 <img style="position: relative; left: 100px" border="20" width="100" height="100 " usemap="#navmap" ismap>
35
36 <hr>
37
38 <p>This tests that client side image maps still work when zooming is in effect.< /p>
39
40 <div id="result">TEST NOT RUN</div>
41
42 </body>
43
44 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698