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

Side by Side Diff: LayoutTests/svg/filters/feImage-reference-invalidation.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 <?xml version="1.0" encoding="UTF-8"?> 1 <?xml version="1.0" encoding="UTF-8"?>
2 <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlin k" onload="runRepaintTest()"> 2 <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlin k" onload="runRepaintAndPixelTest()">
3 <script xlink:href="../../fast/repaint/resources/repaint.js"></script> 3 <script xlink:href="../../fast/repaint/resources/text-based-repaint.js"></sc ript>
4 <title>There should be a single green square.</title> 4 <title>There should be a single green square.</title>
5 <defs> 5 <defs>
6 <rect id="rect" width="100" height="100" fill="red" /> 6 <rect id="rect" width="100" height="100" fill="red" />
7 <rect id="rect2" width="100" height="100" fill="green" /> 7 <rect id="rect2" width="100" height="100" fill="green" />
8 8
9 <filter id="image"> 9 <filter id="image">
10 <feImage id="feimage" xlink:href="#rect" /> 10 <feImage id="feimage" xlink:href="#rect" />
11 </filter> 11 </filter>
12 </defs> 12 </defs>
13 <rect x="0" y="0" width="100" height="100" filter="url(#image)" /> 13 <rect x="0" y="0" width="100" height="100" filter="url(#image)" />
14 <script> 14 <script>
15 <![CDATA[ 15 <![CDATA[
16 function repaintTest() { 16 function repaintTest() {
17 document.getElementById("feimage").setAttributeNS("http://www.w3.org /1999/xlink", "href", "#rect2"); 17 document.getElementById("feimage").setAttributeNS("http://www.w3.org /1999/xlink", "href", "#rect2");
18 } 18 }
19 ]]> 19 ]]>
20 </script> 20 </script>
21 </svg> 21 </svg>
OLDNEW
« no previous file with comments | « LayoutTests/svg/filters/feImage-multiple-targets-id-change.svg ('k') | LayoutTests/svg/filters/feImage-remove-target.svg » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698