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

Side by Side Diff: LayoutTests/svg/filters/filter-refresh.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" 1 <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlin k"
2 style="width:300px;height:400px" onload="runRepaintTest()"> 2 style="width:300px;height:400px" onload="runRepaintAndPixelTest()">
3 3
4 <script xlink:href="../../fast/repaint/resources/repaint.js"></script> 4 <script xlink:href="../../fast/repaint/resources/text-based-repaint.js"></script >
5 <!-- This tests filters failing to refresh after the initial rendering 5 <!-- This tests filters failing to refresh after the initial rendering
6 (https://bugs.webkit.org/show_bug.cgi?id=53088). 6 (https://bugs.webkit.org/show_bug.cgi?id=53088).
7 There should be no red squares in the output. --> 7 There should be no red squares in the output. -->
8 8
9 <defs> 9 <defs>
10 <filter id="simple" x="0" y="0"> 10 <filter id="simple" x="0" y="0">
11 <feOffset in="SourceGraphic" dx="0" dy="0" /> 11 <feOffset in="SourceGraphic" dx="0" dy="0" />
12 </filter> 12 </filter>
13 13
14 <filter id="animated" x="0" y="0"> 14 <filter id="animated" x="0" y="0">
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 function repaintTest() { 107 function repaintTest() {
108 for (var i=0; i<elements.length; ++i) { 108 for (var i=0; i<elements.length; ++i) {
109 elements[i].setAttribute('fill', 'green'); 109 elements[i].setAttribute('fill', 'green');
110 } 110 }
111 111
112 document.getElementById('filtered').setAttribute('filter', 'url(#toGreen)' ); 112 document.getElementById('filtered').setAttribute('filter', 'url(#toGreen)' );
113 } 113 }
114 ]]></script> 114 ]]></script>
115 115
116 </svg> 116 </svg>
OLDNEW
« no previous file with comments | « LayoutTests/svg/filters/feImage-target-style-change.svg ('k') | LayoutTests/svg/filters/filter-width-update.svg » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698