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

Side by Side Diff: LayoutTests/svg/filters/filter-width-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" onload="runRepaintTest()"> 1 <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlin k" onload="runRepaintAndPixelTest()">
2 <script xlink:href="../../fast/repaint/resources/repaint.js"></script> 2 <script xlink:href="../../fast/repaint/resources/text-based-repaint.js"></script >
3 <defs> 3 <defs>
4 <filter filterUnits="userSpaceOnUse" id="blur" x="0" y="0" width="40" height="14 0"> 4 <filter filterUnits="userSpaceOnUse" id="blur" x="0" y="0" width="40" height="14 0">
5 <feGaussianBlur stdDeviation="10"/> 5 <feGaussianBlur stdDeviation="10"/>
6 </filter> 6 </filter>
7 </defs> 7 </defs>
8 <rect x="20" y="20" width="100" height="100" style="fill:green;filter:url(#blur) ;"/> 8 <rect x="20" y="20" width="100" height="100" style="fill:green;filter:url(#blur) ;"/>
9 <text y="150">You should see a green, blurred rectangle from 20x20 with width/he ight 100</text> 9 <text y="150">You should see a green, blurred rectangle from 20x20 with width/he ight 100</text>
10 10
11 <script> 11 <script>
12 function repaintTest() { 12 function repaintTest() {
13 document.getElementsByTagName("filter")[0].setAttribute("width", "140"); 13 document.getElementsByTagName("filter")[0].setAttribute("width", "140");
14 } 14 }
15 </script> 15 </script>
16 </svg> 16 </svg>
OLDNEW
« no previous file with comments | « LayoutTests/svg/filters/filter-refresh.svg ('k') | LayoutTests/svg/filters/invalidate-on-child-layout.svg » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698