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

Side by Side Diff: LayoutTests/svg/custom/hit-test-with-br.xhtml

Issue 205263004: Convert svg repaint tests to pixel test only repaint (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Remove fixedpos Created 6 years, 9 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 <head> 2 <head>
3 <script src="../../fast/repaint/resources/repaint.js"></script> 3 <script src="../../fast/repaint/resources/text-based-repaint.js"></script>
4 <title>&lt;br&gt; prevents click handler from firing</title> 4 <title>&lt;br&gt; prevents click handler from firing</title>
5 <script> 5 <script>
6 function clickHandler(evt) { 6 function clickHandler(evt) {
7 evt.target.style.fill = "green"; 7 evt.target.style.fill = "green";
8 if (window.testRunner) 8 if (window.testRunner)
9 testRunner.notifyDone(); 9 testRunner.notifyDone();
10 } 10 }
11 11
12 function repaintTest() { 12 function repaintTest() {
13 if (window.eventSender) { 13 if (window.eventSender) {
14 testRunner.waitUntilDone(); 14 testRunner.waitUntilDone();
15 eventSender.mouseMoveTo(50, 80); 15 eventSender.mouseMoveTo(50, 80);
16 eventSender.mouseDown(); 16 eventSender.mouseDown();
17 eventSender.mouseUp(); 17 eventSender.mouseUp();
18 } 18 }
19 } 19 }
20 </script> 20 </script>
21 </head> 21 </head>
22 <body onload="runRepaintTest()"> 22 <body onload="runRepaintAndPixelTest()">
23 <p> 23 <p>
24 A test for hit testing when an svg container is relatively positioned in 24 A test for hit testing when an svg container is relatively positioned in
25 a containing block. See bug 13981. 25 a containing block. See bug 13981.
26 </p> 26 </p>
27 <br /> 27 <br />
28 <svg xmlns="http://www.w3.org/2000/svg" width="720" height="15"> 28 <svg xmlns="http://www.w3.org/2000/svg" width="720" height="15">
29 <rect width="720" height="15" onclick="clickHandler(evt)" /> 29 <rect width="720" height="15" onclick="clickHandler(evt)" />
30 </svg> 30 </svg>
31 </body> 31 </body>
32 </html> 32 </html>
OLDNEW
« no previous file with comments | « LayoutTests/svg/custom/hit-test-unclosed-subpaths.svg ('k') | LayoutTests/svg/custom/js-late-clipPath-and-object-creation.svg » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698