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

Side by Side Diff: LayoutTests/svg/custom/use-disappears-after-style-update.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"/> 4 <script xlink:href="../../fast/repaint/resources/text-based-repaint.js"/>
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 two green squares in the output. --> 7 There should be two green 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 <rect id="rect" width="30" y="10" height="30" fill="red" /> 14 <rect id="rect" width="30" y="10" height="30" fill="red" />
15 15
16 </defs> 16 </defs>
17 17
18 <g> 18 <g>
19 19
20 <use xlink:href="#rect" x="10" /> 20 <use xlink:href="#rect" x="10" />
21 21
22 <use filter="url(#simple)" xlink:href="#rect" x="50" /> 22 <use filter="url(#simple)" xlink:href="#rect" x="50" />
23 23
24 </g> 24 </g>
25 25
26 <script><![CDATA[ 26 <script><![CDATA[
27 function repaintTest() { 27 function repaintTest() {
28 document.getElementById("rect").setAttribute("fill", "green"); 28 document.getElementById("rect").setAttribute("fill", "green");
29 } 29 }
30 ]]></script> 30 ]]></script>
31 31
32 </svg> 32 </svg>
OLDNEW
« no previous file with comments | « LayoutTests/svg/custom/use-detach.svg ('k') | LayoutTests/svg/custom/use-elementInstance-event-target.svg » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698