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

Side by Side Diff: LayoutTests/svg/repaint/mask-clip-target-transform.svg

Issue 205263004: Convert svg repaint tests to pixel test only repaint (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Remove fixedpos Created 6 years, 9 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 | Annotate | Revision Log
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="runRepaintTest();"> 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();">
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/repaint.js" type="text/javasc ript"></script> 6 <script xlink:href="../../fast/repaint/resources/text-based-repaint.js" type=" text/javascript"></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
« no previous file with comments | « LayoutTests/svg/repaint/inner-svg-change-viewPort-relative.svg ('k') | LayoutTests/svg/repaint/paintorder-filtered.svg » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698