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

Side by Side Diff: third_party/WebKit/LayoutTests/svg/custom/js-update-container.svg

Issue 1972273002: Let repaint tests test pixels by default (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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
OLDNEW
1 <?xml version="1.0" standalone="no"?> 1 <?xml version="1.0" standalone="no"?>
2 <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN" "http://www.w3.org/TR/2001/REC-SV G-20010904/DTD/svg10.dtd"> 2 <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN" "http://www.w3.org/TR/2001/REC-SV G-20010904/DTD/svg10.dtd">
3 <svg width="2cm" height="2cm" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="ht tp://www.w3.org/1999/xlink" onload="runRepaintAndPixelTest()"> 3 <svg width="2cm" height="2cm" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="ht tp://www.w3.org/1999/xlink" onload="runRepaintTest()">
4 <script xlink:href="../../fast/repaint/resources/text-based-repaint.js"/> 4 <script xlink:href="../../fast/repaint/resources/repaint.js"/>
5 <script> 5 <script>
6 function repaintTest() { 6 function repaintTest() {
7 document.getElementById("group").setAttribute("stroke", "green"); 7 document.getElementById("group").setAttribute("stroke", "green");
8 document.getElementById("group").setAttribute("transform", "scale(0.5)"); 8 document.getElementById("group").setAttribute("transform", "scale(0.5)");
9 } 9 }
10 </script> 10 </script>
11 11
12 <g id="group" stroke-width="5px"> 12 <g id="group" stroke-width="5px">
13 <rect width="2cm" height="2cm" fill="navy"/> 13 <rect width="2cm" height="2cm" fill="navy"/>
14 </g> 14 </g>
15 </svg> 15 </svg>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698