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

Side by Side Diff: LayoutTests/svg/custom/pointer-events-with-linecaps-and-miterlimits.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#strokedRect { 8 rect#strokedRect {
9 fill: none; 9 fill: none;
10 stroke: blue; 10 stroke: blue;
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 text.textContent = 'PASSED: fallbackRect had pointer'; 49 text.textContent = 'PASSED: fallbackRect had pointer';
50 stop(); 50 stop();
51 } 51 }
52 52
53 if (window.testRunner) { 53 if (window.testRunner) {
54 testRunner.waitUntilDone(); 54 testRunner.waitUntilDone();
55 testRunner.dumpAsText(); 55 testRunner.dumpAsText();
56 } 56 }
57 57
58 if (window.eventSender) { 58 if (window.eventSender) {
59 // Mouse events only work after an initial layout
60 document.body.offsetLeft;
61 eventSender.mouseMoveTo(1, 1); 59 eventSender.mouseMoveTo(1, 1);
62 eventSender.mouseDown(); 60 eventSender.mouseDown();
63 } 61 }
64 62
65 ]]> 63 ]]>
66 </script> 64 </script>
67 </svg> 65 </svg>
68 66
69 </body> 67 </body>
70 </html> 68 </html>
OLDNEW
« no previous file with comments | « LayoutTests/svg/custom/pointer-events-text-css-transform.svg ('k') | LayoutTests/svg/custom/polyline-hittest.svg » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698