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

Side by Side Diff: LayoutTests/svg/repaint/filter-child-repaint.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" 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 width="128px" height="128px" version="1.1" xmlns="http://www.w3.org/2000/sv g" xmlns:xlink="http://www.w3.org/1999/xlink" onload="runRepaintTest()"> 3 <svg width="128px" height="128px" version="1.1" xmlns="http://www.w3.org/2000/sv g" xmlns:xlink="http://www.w3.org/1999/xlink" onload="runRepaintAndPixelTest()">
4 <script xlink:href="../../fast/repaint/resources/repaint.js" type="text/javascri pt"></script> 4 <script xlink:href="../../fast/repaint/resources/text-based-repaint.js" type="te xt/javascript"></script>
5 <script type="text/javascript"> 5 <script type="text/javascript">
6 function repaintTest() { 6 function repaintTest() {
7 document.getElementById('poke').style.fill = 'green'; 7 document.getElementById('poke').style.fill = 'green';
8 } 8 }
9 </script> 9 </script>
10 10
11 <defs> 11 <defs>
12 <filter id="dropShadow"> 12 <filter id="dropShadow">
13 <feDropShadow stdDeviation="2" dx="3" dy="3" flood-color="black"/> 13 <feDropShadow stdDeviation="2" dx="3" dy="3" flood-color="black"/>
14 </filter> 14 </filter>
15 </defs> 15 </defs>
16 16
17 <title> 17 <title>
18 Tests that dynamically updating the child of a &lt;g&gt; with a filter applied correctly repaints 18 Tests that dynamically updating the child of a &lt;g&gt; with a filter applied correctly repaints
19 affected parts of the group. Both squares should be green if repainting is wor king properly. 19 affected parts of the group. Both squares should be green if repainting is wor king properly.
20 </title> 20 </title>
21 21
22 <g filter='url(#dropShadow)'> 22 <g filter='url(#dropShadow)'>
23 <rect width="64" height="64" style="fill:green"/> 23 <rect width="64" height="64" style="fill:green"/>
24 <rect id='poke' x='32' y='32' width="64" height="64" style="fill:red"/> 24 <rect id='poke' x='32' y='32' width="64" height="64" style="fill:red"/>
25 </g> 25 </g>
26 </svg> 26 </svg>
27 27
OLDNEW
« no previous file with comments | « LayoutTests/svg/repaint/container-repaint.svg ('k') | LayoutTests/svg/repaint/foreign-object-repaint.svg » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698