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

Side by Side Diff: LayoutTests/svg/dom/SVGPathSegList-xml-dom-synchronization2.xhtml

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 <svg width="600" height="500" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="ht tp://www.w3.org/1999/xlink" onload="runRepaintTest()"> 2 <svg width="600" height="500" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="ht tp://www.w3.org/1999/xlink" onload="runRepaintAndPixelTest()">
3 <script xlink:href="../../fast/repaint/resources/repaint.js"></script> 3 <script xlink:href="../../fast/repaint/resources/text-based-repaint.js"></scri pt>
4 <path d="M50,150 l45,-43 l24,64 l-69,-21z" fill="#FF0000" stroke="#000000" str oke-width="5"/> 4 <path d="M50,150 l45,-43 l24,64 l-69,-21z" fill="#FF0000" stroke="#000000" str oke-width="5"/>
5 <text x="10" y="20" style="font-weight:bold">Right after loading, a segment is added to the path.</text> 5 <text x="10" y="20" style="font-weight:bold">Right after loading, a segment is added to the path.</text>
6 <text x="10" y="40" style="font-weight:bold">The path and its attribute should be updated to include the new segment.</text> 6 <text x="10" y="40" style="font-weight:bold">The path and its attribute should be updated to include the new segment.</text>
7 7
8 <text x="10" y="70">"d" initial: </text> 8 <text x="10" y="70">"d" initial: </text>
9 <text id="d_start" x="90" y="70"></text> 9 <text id="d_start" x="90" y="70"></text>
10 10
11 <text x="10" y="90">"d" after: </text> 11 <text x="10" y="90">"d" after: </text>
12 <text id="d_end" x="90" y="90"></text> 12 <text id="d_end" x="90" y="90"></text>
13 13
(...skipping 12 matching lines...) Expand all
26 list.insertItemBefore(seg, 2); 26 list.insertItemBefore(seg, 2);
27 var end_d = path.getAttribute('d'); 27 var end_d = path.getAttribute('d');
28 end.textContent = end_d; 28 end.textContent = end_d;
29 if(start_d == end_d) { 29 if(start_d == end_d) {
30 end.textContent += ' (failed)'; 30 end.textContent += ' (failed)';
31 } 31 }
32 } 32 }
33 ]]> 33 ]]>
34 </script> 34 </script>
35 </svg> 35 </svg>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698