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

Side by Side Diff: LayoutTests/svg/carto.net/tabgroup.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 <?xml version="1.0" encoding="UTF-8"?> 1 <?xml version="1.0" encoding="UTF-8"?>
2 <?AdobeSVGViewer save="snapshot"?> 2 <?AdobeSVGViewer save="snapshot"?>
3 <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN" "http://www.w3.org/TR/2001/REC-SV G-20010904/DTD/svg10.dtd"> 3 <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN" "http://www.w3.org/TR/2001/REC-SV G-20010904/DTD/svg10.dtd">
4 <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlin k" width="100%" height="100%" viewBox="0 0 1024 768" onload="runRepaintTest()"> 4 <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlin k" width="100%" height="100%" viewBox="0 0 1024 768" onload="runRepaintAndPixelT est()">
5 <script type="text/ecmascript" xlink:href="../../fast/repaint/resources/repa int.js"></script> 5 <script type="text/ecmascript" xlink:href="../../fast/repaint/resources/text -based-repaint.js"></script>
6 <script type="text/ecmascript" xlink:href="resources/helper_functions.js"></ script> 6 <script type="text/ecmascript" xlink:href="resources/helper_functions.js"></ script>
7 <script type="text/ecmascript" xlink:href="resources/timer.js"></script> 7 <script type="text/ecmascript" xlink:href="resources/timer.js"></script>
8 <script type="text/ecmascript" xlink:href="resources/tabgroup.js"></script> 8 <script type="text/ecmascript" xlink:href="resources/tabgroup.js"></script>
9 <script type="text/ecmascript"> 9 <script type="text/ecmascript">
10 <![CDATA[ 10 <![CDATA[
11 var tabgroupRect; 11 var tabgroupRect;
12 function repaintTest() { 12 function repaintTest() {
13 //first a few style array literals 13 //first a few style array literals
14 var tabStyles = {"fill":"lightgray","stroke":"dimgray","stroke-w idth":1,"cursor":"pointer"}; 14 var tabStyles = {"fill":"lightgray","stroke":"dimgray","stroke-w idth":1,"cursor":"pointer"};
15 var tabwindowStyles = {"fill":"aliceblue","stroke":"dimgray","st roke-width":1}; 15 var tabwindowStyles = {"fill":"aliceblue","stroke":"dimgray","st roke-width":1};
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 <g id="oversizeContent" display="none"> 55 <g id="oversizeContent" display="none">
56 <rect x="40" y="190" width="220" height="120" stroke="dimgray" stroke-wi dth="1" /> 56 <rect x="40" y="190" width="220" height="120" stroke="dimgray" stroke-wi dth="1" />
57 <rect x="40.5" y="188" width="219" height="121.5" fill="aliceblue" strok e="none" /> 57 <rect x="40.5" y="188" width="219" height="121.5" fill="aliceblue" strok e="none" />
58 <rect x="30" y="188" width="240" height="11.5" fill="aliceblue" /> 58 <rect x="30" y="188" width="240" height="11.5" fill="aliceblue" />
59 <text x="10" y="55" font-size="12" fill="dimgray" font-family="Arial,Hel vetica">This is oversize content that can be<tspan x="10" dy="15">hidden on tab- change</tspan></text> 59 <text x="10" y="55" font-size="12" fill="dimgray" font-family="Arial,Hel vetica">This is oversize content that can be<tspan x="10" dy="15">hidden on tab- change</tspan></text>
60 </g> 60 </g>
61 <text id="contentTabGroupTriangle0" font-size="12" fill="dimgray" font-famil y="Arial,Helvetica" x="10" y="55" display="none">This is a tabgroup with triangu lar tab corners<tspan x="10" dy="15">and a double line tab. (use "\n" as a line separator)</tspan><tspan x="10" dy="15">Click on the second tab to see oversize content</tspan></text> 61 <text id="contentTabGroupTriangle0" font-size="12" fill="dimgray" font-famil y="Arial,Helvetica" x="10" y="55" display="none">This is a tabgroup with triangu lar tab corners<tspan x="10" dy="15">and a double line tab. (use "\n" as a line separator)</tspan><tspan x="10" dy="15">Click on the second tab to see oversize content</tspan></text>
62 <text id="contentTabGroupTriangle2" font-size="12" fill="dimgray" font-famil y="Arial,Helvetica" x="10" y="55" display="none">Please contact our sales person to get an account</text> 62 <text id="contentTabGroupTriangle2" font-size="12" fill="dimgray" font-famil y="Arial,Helvetica" x="10" y="55" display="none">Please contact our sales person to get an account</text>
63 <text id="contentTabGroupTriangle3" font-size="12" fill="dimgray" font-famil y="Arial,Helvetica" x="10" y="55" display="none">RTFM!</text> 63 <text id="contentTabGroupTriangle3" font-size="12" fill="dimgray" font-famil y="Arial,Helvetica" x="10" y="55" display="none">RTFM!</text>
64 </svg> 64 </svg>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698