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

Side by Side Diff: third_party/WebKit/LayoutTests/svg/custom/use-event-handler-on-referenced-element-hierarchy.svg

Issue 1972273002: Let repaint tests test pixels by default (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
OLDNEW
1 <svg version="1.1" baseProfile="basic" xmlns="http://www.w3.org/2000/svg" xmlns: xlink="http://www.w3.org/1999/xlink" onload="clickRect()"> 1 <svg version="1.1" baseProfile="basic" xmlns="http://www.w3.org/2000/svg" xmlns: xlink="http://www.w3.org/1999/xlink" onload="clickRect()">
2 <script xlink:href="../../fast/repaint/resources/text-based-repaint.js"/> 2 <script xlink:href="../../fast/repaint/resources/repaint.js"/>
3 <defs id="hidden"> 3 <defs id="hidden">
4 <g id="reference"> 4 <g id="reference">
5 <rect onclick="test(evt)" id="referenceRect" x="240" y="1" width="239" hei ght="358"/> 5 <rect onclick="test(evt)" id="referenceRect" x="240" y="1" width="239" hei ght="358"/>
6 </g> 6 </g>
7 7
8 <script type="text/ecmascript"> 8 <script type="text/ecmascript">
9 <![CDATA[ 9 <![CDATA[
10 if (window.testRunner) 10 if (window.testRunner)
11 testRunner.dumpAsText(); 11 testRunner.dumpAsText();
12 12
(...skipping 17 matching lines...) Expand all
30 } 30 }
31 ]]> 31 ]]>
32 </script> 32 </script>
33 </defs> 33 </defs>
34 34
35 <use xlink:href="#reference" fill="grey"/> 35 <use xlink:href="#reference" fill="grey"/>
36 36
37 <text id="text" transform="translate(5,20)">Test failed.</text> 37 <text id="text" transform="translate(5,20)">Test failed.</text>
38 <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke= "#000"/> 38 <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke= "#000"/>
39 </svg> 39 </svg>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698