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

Side by Side Diff: third_party/WebKit/LayoutTests/svg/custom/mask-child-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 <svg width="800" height="600" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="ht tp://www.w3.org/1999/xlink" onload="runRepaintAndPixelTest()"> 1 <svg width="800" height="600" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="ht tp://www.w3.org/1999/xlink" onload="runRepaintTest()">
2 <script xlink:href="../../fast/repaint/resources/text-based-repaint.js"/> 2 <script xlink:href="../../fast/repaint/resources/repaint.js"/>
3 <mask id="Mask" maskUnits="userSpaceOnUse" x="0" y="0" width="800" height="300"> 3 <mask id="Mask" maskUnits="userSpaceOnUse" x="0" y="0" width="800" height="300">
4 <rect x="0" y="0" width="800" height="300" fill="none"/> 4 <rect x="0" y="0" width="800" height="300" fill="none"/>
5 </mask> 5 </mask>
6 6
7 <script> 7 <script>
8 function repaintTest() { 8 function repaintTest() {
9 document.getElementById("Mask").firstChild.nextSibling.setAttribute("fill", "red"); 9 document.getElementById("Mask").firstChild.nextSibling.setAttribute("fill", "red");
10 } 10 }
11 </script> 11 </script>
12 12
13 <rect x="0" y="100" width="800" height="100" fill="blue" mask="url(#Mask)"/> 13 <rect x="0" y="100" width="800" height="100" fill="blue" mask="url(#Mask)"/>
14 14
15 </svg> 15 </svg>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698