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

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

Issue 15508003: Revert "Don't force layout for mouse event hit tests" (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 7 months 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 | Annotate | Revision Log
OLDNEW
1 <html> 1 <html>
2 2
3 <head> 3 <head>
4 4
5 <script> 5 <script>
6 6
7 function runTest() 7 function runTest()
8 { 8 {
9 if (!window.eventSender) 9 if (!window.eventSender)
10 return; 10 return;
11 11
12 testRunner.dumpAsText(); 12 testRunner.dumpAsText();
13 13
14 // Mouse events only work after an initial layout
15 document.body.offsetLeft;
16
17 eventSender.mouseMoveTo(340, 140); 14 eventSender.mouseMoveTo(340, 140);
18 eventSender.mouseDown(); 15 eventSender.mouseDown();
19 eventSender.mouseUp(); 16 eventSender.mouseUp();
20 } 17 }
21 18
22 function setResult(message) 19 function setResult(message)
23 { 20 {
24 document.getElementById('result').firstChild.data = message; 21 document.getElementById('result').firstChild.data = message;
25 } 22 }
26 23
(...skipping 11 matching lines...) Expand all
38 35
39 <hr> 36 <hr>
40 37
41 <p>This tests that client side image maps still work when zooming is in effect.< /p> 38 <p>This tests that client side image maps still work when zooming is in effect.< /p>
42 39
43 <div id="result">TEST NOT RUN</div> 40 <div id="result">TEST NOT RUN</div>
44 41
45 </body> 42 </body>
46 43
47 </html> 44 </html>
OLDNEW
« no previous file with comments | « LayoutTests/fast/images/image-map-multiple-xhtml.xhtml ('k') | LayoutTests/fast/images/imagemap-case.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698