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

Side by Side Diff: LayoutTests/svg/custom/pointer-events-on-rounded-rect.xhtml

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 xmlns='http://www.w3.org/1999/xhtml'> 1 <html xmlns='http://www.w3.org/1999/xhtml'>
2 <body style="margin: 0px; padding: 0px"> 2 <body style="margin: 0px; padding: 0px">
3 3
4 <svg xmlns="http://www.w3.org/2000/svg" style="position:absolute;"> 4 <svg xmlns="http://www.w3.org/2000/svg" style="position:absolute;">
5 <defs> 5 <defs>
6 6
7 <style type="text/css"><![CDATA[ 7 <style type="text/css"><![CDATA[
8 rect#roundedRect { 8 rect#roundedRect {
9 fill: none; 9 fill: none;
10 stroke: green; 10 stroke: green;
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 text.textContent = 'PASSED: fallbackRect had pointer'; 48 text.textContent = 'PASSED: fallbackRect had pointer';
49 stop(); 49 stop();
50 } 50 }
51 51
52 if (window.testRunner) { 52 if (window.testRunner) {
53 testRunner.waitUntilDone(); 53 testRunner.waitUntilDone();
54 testRunner.dumpAsText(); 54 testRunner.dumpAsText();
55 } 55 }
56 56
57 if (window.eventSender) { 57 if (window.eventSender) {
58 // Mouse events only work after an initial layout
59 document.body.offsetLeft;
60 eventSender.mouseMoveTo(31, 31); 58 eventSender.mouseMoveTo(31, 31);
61 eventSender.mouseDown(); 59 eventSender.mouseDown();
62 } 60 }
63 ]]> 61 ]]>
64 </script> 62 </script>
65 63
66 </svg> 64 </svg>
67 </body> 65 </body>
68 </html> 66 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698