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

Side by Side Diff: third_party/WebKit/LayoutTests/svg/custom/repaint-stroke-width-changes.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" 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="runRepaintAndPixelTest()"> 2 <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlin k" onload="runRepaintTest()">
3 <script xlink:href="../../fast/repaint/resources/text-based-repaint.js"/> 3 <script xlink:href="../../fast/repaint/resources/repaint.js"/>
4 <rect x="20" y="20" width="440" height="320" stroke-width="20" fill="none" s troke="red"/> 4 <rect x="20" y="20" width="440" height="320" stroke-width="20" fill="none" s troke="red"/>
5 5
6 <script> 6 <script>
7 function repaintTest() { 7 function repaintTest() {
8 document.getElementsByTagName("rect")[0].setAttribute("stroke-width" , 1); 8 document.getElementsByTagName("rect")[0].setAttribute("stroke-width" , 1);
9 } 9 }
10 </script> 10 </script>
11 </svg> 11 </svg>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698