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

Side by Side Diff: third_party/WebKit/LayoutTests/svg/custom/repaint-shadow.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 <script xlink:href="../../resources/ahem.js"/> 4 <script xlink:href="../../resources/ahem.js"/>
5 <text x="20" y="60" font-family="Ahem" font-size="50px" style="text-shadow: 200px 200px 5px red">X</text> 5 <text x="20" y="60" font-family="Ahem" font-size="50px" style="text-shadow: 200px 200px 5px red">X</text>
6 <text x="170" y="60" font-family="Ahem" font-size="50px" style="text-shadow: 200px 200px 5px red">X</text> 6 <text x="170" y="60" font-family="Ahem" font-size="50px" style="text-shadow: 200px 200px 5px red">X</text>
7 <script> 7 <script>
8 function repaintTest() { 8 function repaintTest() {
9 document.getElementsByTagName('text')[1].setAttribute("x", 171); 9 document.getElementsByTagName('text')[1].setAttribute("x", 171);
10 if (window.testRunner) 10 if (window.testRunner)
11 testRunner.notifyDone(); 11 testRunner.notifyDone();
12 } 12 }
13 </script> 13 </script>
14 </svg> 14 </svg>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698