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

Side by Side Diff: LayoutTests/svg/custom/repaint-on-constant-size-change.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" encoding="UTF-8"?> 1 <?xml version="1.0" encoding="UTF-8"?>
2 <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlin k" onload="runRepaintTest()"> 2 <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlin k" onload="runRepaintAndPixelTest()">
3 <script xlink:href="../../fast/repaint/resources/repaint.js"/> 3 <script xlink:href="../../fast/repaint/resources/text-based-repaint.js"/>
4 <image xlink:href="../../css2.1/support/swatch-green.png" x="0" y="0" width= "200" height="100" /> 4 <image xlink:href="../../css2.1/support/swatch-green.png" x="0" y="0" width= "200" height="100" />
5 5
6 <script> 6 <script>
7 function repaintTest() { 7 function repaintTest() {
8 var image = document.getElementsByTagName('image')[0]; 8 var image = document.getElementsByTagName('image')[0];
9 image.setAttribute("x", 0); 9 image.setAttribute("x", 0);
10 image.setAttribute("y", 0); 10 image.setAttribute("y", 0);
11 image.setAttribute("width", 200); 11 image.setAttribute("width", 200);
12 image.setAttribute("height", 100); 12 image.setAttribute("height", 100);
13 } 13 }
14 </script> 14 </script>
15 </svg> 15 </svg>
OLDNEW
« no previous file with comments | « LayoutTests/svg/custom/repaint-moving-svg-and-div.xhtml ('k') | LayoutTests/svg/custom/repaint-on-image-bounds-change.svg » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698