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

Side by Side Diff: LayoutTests/svg/filters/filter-refresh.svg

Issue 1148763002: Invalidate SVG filter display items on subtree modification (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Upload correct patch this time Created 5 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 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="runRepaintAndPixelTest()"> 2 style="width:300px;height:400px" onload="runRepaintAndPixelTest()">
3 3
4 <script xlink:href="../../fast/repaint/resources/text-based-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">
15 <animate attributeName="x" from="0" to="0" dur="0.05s"/> 15 <set attributeName="x" to="0" />
pdr. 2015/05/20 21:09:27 Now that we are tracking invalidations, this flaki
fs 2015/05/20 21:57:08 Acknowledged.
16 <feOffset in="SourceGraphic" dx="0" dy="0" /> 16 <feOffset in="SourceGraphic" dx="0" dy="0" />
17 </filter> 17 </filter>
18 18
19 <filter id="toGreen" x="0" y="0"> 19 <filter id="toGreen" x="0" y="0">
20 <feComponentTransfer> 20 <feComponentTransfer>
21 <feFuncG type="linear" intercept="0.25" slope="0"/> 21 <feFuncG type="linear" intercept="0.25" slope="0"/>
22 <feFuncR type="linear" intercept="0" slope="0"/> 22 <feFuncR type="linear" intercept="0" slope="0"/>
23 <feFuncB type="linear" intercept="0" slope="0"/> 23 <feFuncB type="linear" intercept="0" slope="0"/>
24 </feComponentTransfer> 24 </feComponentTransfer>
25 </filter> 25 </filter>
(...skipping 81 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

Powered by Google App Engine
This is Rietveld 408576698