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

Side by Side Diff: third_party/WebKit/LayoutTests/svg/custom/use-inherit-style.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 <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlin k" onload="runRepaintAndPixelTest()"> 1 <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlin k" onload="runRepaintTest()">
2 <script xlink:href="../../fast/repaint/resources/text-based-repaint.js"/> 2 <script xlink:href="../../fast/repaint/resources/repaint.js"/>
3 3
4 <g id="g"> 4 <g id="g">
5 <use xlink:href="#rect" /> 5 <use xlink:href="#rect" />
6 </g> 6 </g>
7 7
8 <defs> 8 <defs>
9 <rect id="rect" x="0" y="0" width="100" height="60" /> 9 <rect id="rect" x="0" y="0" width="100" height="60" />
10 </defs> 10 </defs>
11 11
12 <script> 12 <script>
13 function repaintTest() { 13 function repaintTest() {
14 document.getElementById("g").setAttribute("fill", "#00FF00"); 14 document.getElementById("g").setAttribute("fill", "#00FF00");
15 } 15 }
16 </script> 16 </script>
17 17
18 </svg> 18 </svg>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698