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

Side by Side Diff: LayoutTests/svg/custom/hit-test-unclosed-subpaths.svg

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 <svg xmlns='http://www.w3.org/2000/svg' xmlns:xlink="http://www.w3.org/1999/xlin k" onload="runRepaintTest()">> 1 <svg xmlns='http://www.w3.org/2000/svg' xmlns:xlink="http://www.w3.org/1999/xlin k" onload="runRepaintAndPixelTest()">>
2 <script xlink:href="../../fast/repaint/resources/repaint.js"/> 2 <script xlink:href="../../fast/repaint/resources/text-based-repaint.js"/>
3 <script> 3 <script>
4 function clickHandler(evt) { 4 function clickHandler(evt) {
5 evt.target.style.fill = "green"; 5 evt.target.style.fill = "green";
6 if (window.testRunner) 6 if (window.testRunner)
7 testRunner.notifyDone(); 7 testRunner.notifyDone();
8 } 8 }
9 9
10 function repaintTest() { 10 function repaintTest() {
11 if (window.eventSender) { 11 if (window.eventSender) {
12 testRunner.waitUntilDone(); 12 testRunner.waitUntilDone();
13 eventSender.mouseMoveTo(50, 50); 13 eventSender.mouseMoveTo(50, 50);
14 eventSender.mouseDown(); 14 eventSender.mouseDown();
15 eventSender.mouseUp(); 15 eventSender.mouseUp();
16 } 16 }
17 } 17 }
18 </script> 18 </script>
19 <path onclick="clickHandler(evt)" fill="red" stroke="black" stroke-width="3" d=" M 10 10 l 0 100 l 100 0 l 0 -100 M 120 10 l 0 100 l 100 0 l 0 -100"/> 19 <path onclick="clickHandler(evt)" fill="red" stroke="black" stroke-width="3" d=" M 10 10 l 0 100 l 100 0 l 0 -100 M 120 10 l 0 100 l 100 0 l 0 -100"/>
20 20
21 <text x="10" y="150">There should be 2 green squares above this (when run under DumpRenderTree)</text> 21 <text x="10" y="150">There should be 2 green squares above this (when run under DumpRenderTree)</text>
22 22
23 </svg> 23 </svg>
OLDNEW
« no previous file with comments | « LayoutTests/svg/custom/gradient-stop-style-change.svg ('k') | LayoutTests/svg/custom/hit-test-with-br.xhtml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698