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

Side by Side Diff: third_party/WebKit/LayoutTests/svg/custom/animate-target-id-changed.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 <?xml version="1.0" standalone="no"?> 1 <?xml version="1.0" standalone="no"?>
2 <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1 .1/DTD/svg11.dtd"> 2 <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1 .1/DTD/svg11.dtd">
3 <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlin k" onload="runRepaintAndPixelTest()"> 3 <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlin k" onload="runRepaintTest()">
4 <script xlink:href="../../fast/repaint/resources/text-based-repaint.js"/> 4 <script xlink:href="../../fast/repaint/resources/repaint.js"/>
5 <rect id="target" width="100" height="100" fill="green"/> 5 <rect id="target" width="100" height="100" fill="green"/>
6 <animate attributeName="fill" xlink:href="#target" from="red" to="red" begin="0s " dur="1s" fill="freeze"/> 6 <animate attributeName="fill" xlink:href="#target" from="red" to="red" begin="0s " dur="1s" fill="freeze"/>
7 <script type="text/ecmascript"> 7 <script type="text/ecmascript">
8 <![CDATA[ 8 <![CDATA[
9 window.testIsAsync = true; 9 window.testIsAsync = true;
10 function repaintTest() { 10 function repaintTest() {
11 setTimeout(function() { 11 setTimeout(function() {
12 document.getElementById('target').setAttribute("id", "newId"); 12 document.getElementById('target').setAttribute("id", "newId");
13 finishRepaintTest(); 13 finishRepaintTest();
14 }, 200); 14 }, 200);
15 } 15 }
16 ]]> 16 ]]>
17 </script> 17 </script>
18 </svg> 18 </svg>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698