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

Side by Side Diff: LayoutTests/svg/custom/animate-target-removed-from-document.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, 8 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 <?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="runRepaintTest()"> 3 <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlin k" onload="runRepaintAndPixelTest()">
4 <script xlink:href="../../fast/repaint/resources/repaint.js"/> 4 <script xlink:href="../../fast/repaint/resources/text-based-repaint.js"/>
5 <rect width="100" height="100" fill="green"/> 5 <rect width="100" height="100" fill="green"/>
6 <rect id="target" width="100" height="100" fill="red"/> 6 <rect id="target" width="100" height="100" fill="red"/>
7 <animate attributeName="fill" xlink:href="#target" from="red" to="green" dur="1s " fill="freeze"/> 7 <animate attributeName="fill" xlink:href="#target" from="red" to="green" dur="1s " fill="freeze"/>
8 <script type="text/ecmascript"> 8 <script type="text/ecmascript">
9 <![CDATA[ 9 <![CDATA[
10 if (window.testRunner) 10 if (window.testRunner)
11 testRunner.waitUntilDone(); 11 testRunner.waitUntilDone();
12 12
13 function repaintTest() { 13 function repaintTest() {
14 setTimeout(function() { 14 setTimeout(function() {
15 document.getElementsByTagName("svg")[0].removeChild(document.getElementB yId('target')); 15 document.getElementsByTagName("svg")[0].removeChild(document.getElementB yId('target'));
16 if (window.testRunner) 16 if (window.testRunner)
17 testRunner.notifyDone(); 17 testRunner.notifyDone();
18 }, 200); 18 }, 200);
19 } 19 }
20 ]]> 20 ]]>
21 </script> 21 </script>
22 </svg> 22 </svg>
OLDNEW
« no previous file with comments | « LayoutTests/svg/custom/animate-target-id-changed.svg ('k') | LayoutTests/svg/custom/circle-move-invalidation.svg » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698