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

Side by Side Diff: LayoutTests/svg/custom/js-update-transform-changes.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="ISO-8859-1" standalone="no"?> 1 <?xml version="1.0" encoding="ISO-8859-1" standalone="no"?>
2 <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN" "http://www.w3.org/TR/2001/R EC-SVG-20010904/DTD/svg10.dtd"> 2 <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN" "http://www.w3.org/TR/2001/R EC-SVG-20010904/DTD/svg10.dtd">
3 <svg width="450" height="450" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="ht tp://www.w3.org/1999/xlink" onload="runRepaintTest()"> 3 <svg width="450" height="450" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="ht tp://www.w3.org/1999/xlink" onload="runRepaintAndPixelTest()">
4 <script xlink:href="../../fast/repaint/resources/repaint.js"/> 4 <script xlink:href="../../fast/repaint/resources/text-based-repaint.js"/>
5 <polygon transform="translate(-1000 -1000)" id="polygon" fill="none" stroke="#00 FF00" stroke-width="8" points="270,265 300,285 320,265 340,285 280,320 390,320 4 20,280 280,225"/> 5 <polygon transform="translate(-1000 -1000)" id="polygon" fill="none" stroke="#00 FF00" stroke-width="8" points="270,265 300,285 320,265 340,285 280,320 390,320 4 20,280 280,225"/>
6 6
7 <script> 7 <script>
8 function repaintTest() { 8 function repaintTest() {
9 var poly = document.getElementById("polygon"); 9 var poly = document.getElementById("polygon");
10 var trafos = poly.transform.baseVal; 10 var trafos = poly.transform.baseVal;
11 11
12 trafos.getItem(0).setTranslate(0, 0); 12 trafos.getItem(0).setTranslate(0, 0);
13 } 13 }
14 </script> 14 </script>
15 </svg> 15 </svg>
OLDNEW
« no previous file with comments | « LayoutTests/svg/custom/js-update-transform-addition.svg ('k') | LayoutTests/svg/custom/marker-child-changes.svg » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698