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

Side by Side Diff: third_party/WebKit/LayoutTests/svg/repaint/image-with-clip-path.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" type ="text/javascript"></script> 2 <script xlink:href="../../fast/repaint/resources/repaint.js" type="text/java script"></script>
3 <text y="-10">Bug 76559: All red should disappear</text> 3 <text y="-10">Bug 76559: All red should disappear</text>
4 <g id="g" transform="translate(0, 0)"> 4 <g id="g" transform="translate(0, 0)">
5 <defs> 5 <defs>
6 <clipPath id="p"> 6 <clipPath id="p">
7 <rect id="r" x="-10" y="-10" width="20" height="20" /> 7 <rect id="r" x="-10" y="-10" width="20" height="20" />
8 </clipPath> 8 </clipPath>
9 </defs> 9 </defs>
10 <image x="-30" y="-30" width="60" height="60" clip-path="url(#p)" xlink: href=""/> 10 <image x="-30" y="-30" width="60" height="60" clip-path="url(#p)" xlink: href=""/>
11 </g> 11 </g>
12 <script> 12 <script>
(...skipping 23 matching lines...) Expand all
36 update(200, 50, green); 36 update(200, 50, green);
37 } 37 }
38 38
39 function repaintTest() { 39 function repaintTest() {
40 // FIXME: we need a better way of waiting for layout/repainting to happe n 40 // FIXME: we need a better way of waiting for layout/repainting to happe n
41 i.onload = function() { setTimeout(nextStep, 1); }; 41 i.onload = function() { setTimeout(nextStep, 1); };
42 update(50, 100, red); 42 update(50, 100, red);
43 } 43 }
44 </script> 44 </script>
45 </svg> 45 </svg>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698