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

Side by Side Diff: third_party/WebKit/LayoutTests/svg/repaint/mask-clip-target-transform.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" viewBox="-100 -100 800 600" onload="runRepaintAndPixelTest();"> 1 <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlin k" viewBox="-100 -100 800 600" onload="runRepaintTest();">
2 <!-- 2 <!--
3 Test for https://bugs.webkit.org/show_bug.cgi?id=76527. 3 Test for https://bugs.webkit.org/show_bug.cgi?id=76527.
4 Only two green circles should be visible. 4 Only two green circles should be visible.
5 --> 5 -->
6 <script xlink:href="../../fast/repaint/resources/text-based-repaint.js" type=" text/javascript"></script> 6 <script xlink:href="../../fast/repaint/resources/repaint.js" type="text/javasc ript"></script>
7 <defs> 7 <defs>
8 <mask id="mask"> 8 <mask id="mask">
9 <circle cx="100" r="50" fill="white"/> 9 <circle cx="100" r="50" fill="white"/>
10 </mask> 10 </mask>
11 11
12 <clipPath id="clip"> 12 <clipPath id="clip">
13 <circle cy="100" r="50"/> 13 <circle cy="100" r="50"/>
14 <!--Two clip shapes are needed to avoid triggering pathOnlyClipping --> 14 <!--Two clip shapes are needed to avoid triggering pathOnlyClipping -->
15 <circle cx="0" cy="0" r="0"/> 15 <circle cx="0" cy="0" r="0"/>
16 </clipPath> 16 </clipPath>
(...skipping 14 matching lines...) Expand all
31 document.getElementById(target).setAttribute('transform', 'rotate(' + an gle + ')'); 31 document.getElementById(target).setAttribute('transform', 'rotate(' + an gle + ')');
32 } 32 }
33 33
34 function repaintTest() { 34 function repaintTest() {
35 rotate("masker", 90); 35 rotate("masker", 90);
36 rotate("clipper", 90); 36 rotate("clipper", 90);
37 } 37 }
38 </script> 38 </script>
39 </svg> 39 </svg>
40 40
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698