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

Side by Side Diff: LayoutTests/svg/repaint/repaint-paintorder.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 viewBox="-10 -10 280 220" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="h ttp://www.w3.org/1999/xlink" onload="runRepaintTest()"> 1 <svg viewBox="-10 -10 280 220" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="h ttp://www.w3.org/1999/xlink" 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 <script> 3 <script>
4 <![CDATA[ 4 <![CDATA[
5 function repaintTest() { 5 function repaintTest() {
6 document.getElementById('t1').setAttribute("paint-order" , "stroke fill"); 6 document.getElementById('t1').setAttribute("paint-order" , "stroke fill");
7 document.getElementById('t2').style.paintOrder = "normal "; 7 document.getElementById('t2').style.paintOrder = "normal ";
8 document.getElementById('t3').setAttribute("paint-order" , "markers fill stroke"); 8 document.getElementById('t3').setAttribute("paint-order" , "markers fill stroke");
9 document.getElementById('t4').setAttribute("color", "cya n"); 9 document.getElementById('t4').setAttribute("color", "cya n");
10 } 10 }
11 ]]> 11 ]]>
12 </script> 12 </script>
(...skipping 17 matching lines...) Expand all
30 <use id="t1" xlink:href="#poly" width="50" height="50" x="0"/> 30 <use id="t1" xlink:href="#poly" width="50" height="50" x="0"/>
31 <use id="t2" xlink:href="#poly" style="paint-order: markers stro ke" width="50" height="50" x="50"/> 31 <use id="t2" xlink:href="#poly" style="paint-order: markers stro ke" width="50" height="50" x="50"/>
32 32
33 <svg viewBox="-10 -10 420 420" width="50" height="50" x="100"> 33 <svg viewBox="-10 -10 420 420" width="50" height="50" x="100">
34 <polygon id="t3" points="50 50 50 350 350 350 250 200" f ill="blue" stroke="lime" stroke-width="50" style="marker: url(#m)" stroke-opacit y="0.5"/> 34 <polygon id="t3" points="50 50 50 350 350 350 250 200" f ill="blue" stroke="lime" stroke-width="50" style="marker: url(#m)" stroke-opacit y="0.5"/>
35 </svg> 35 </svg>
36 36
37 <use xlink:href="#poly2" width="50" height="50" x="150"/> 37 <use xlink:href="#poly2" width="50" height="50" x="150"/>
38 </g> 38 </g>
39 </svg> 39 </svg>
OLDNEW
« no previous file with comments | « LayoutTests/svg/repaint/paintorder-filtered.svg ('k') | LayoutTests/svg/repaint/svgsvgelement-repaint-children.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698