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

Side by Side Diff: LayoutTests/svg/text/text-text-05-t.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
« no previous file with comments | « LayoutTests/svg/text/text-rescale.html ('k') | LayoutTests/svg/text/text-viewbox-rescale.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <?xml version="1.0" encoding="UTF-8"?> 1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- =====================================================================--> 2 <!-- =====================================================================-->
3 <!-- --> 3 <!-- -->
4 <!-- text-text-05-t.svg --> 4 <!-- text-text-05-t.svg -->
5 <!-- --> 5 <!-- -->
6 <!-- Tests that the viewer can handle the rotate attribute on the text --> 6 <!-- Tests that the viewer can handle the rotate attribute on the text -->
7 <!-- element. --> 7 <!-- element. -->
8 <!-- --> 8 <!-- -->
9 <!-- Author : Vincent Hardy, 06-Jan-2004 --><!D OCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1 Tiny//EN" "http://www.w3.org/Graphics/SVG /1.1/DTD/svg11-tiny.dtd"> 9 <!-- Author : Vincent Hardy, 06-Jan-2004 --><!D OCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1 Tiny//EN" "http://www.w3.org/Graphics/SVG /1.1/DTD/svg11-tiny.dtd">
10 10
11 <svg onload="runRepaintTest()" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="h ttp://www.w3.org/1999/xlink" version="1.1" baseProfile="tiny" id="svg-root" widt h="100%" height="100%" viewBox="0 0 480 360"> 11 <svg onload="runRepaintAndPixelTest()" xmlns="http://www.w3.org/2000/svg" xmlns: xlink="http://www.w3.org/1999/xlink" version="1.1" baseProfile="tiny" id="svg-ro ot" width="100%" height="100%" viewBox="0 0 480 360">
12 <SVGTestCase xmlns:testcase="http://www.w3.org/2000/02/svg/testsuite/descrip tion/" xmlns="http://www.w3.org/2000/02/svg/testsuite/description/" owner="VH" d esc="Tests that the viewer can handle the rotate attribute on the text e lement" status="accepted" version="$Revision: 1.8 $" testname="$RCSfile: text-te xt-05-t.svg,v $"> 12 <SVGTestCase xmlns:testcase="http://www.w3.org/2000/02/svg/testsuite/descrip tion/" xmlns="http://www.w3.org/2000/02/svg/testsuite/description/" owner="VH" d esc="Tests that the viewer can handle the rotate attribute on the text e lement" status="accepted" version="$Revision: 1.8 $" testname="$RCSfile: text-te xt-05-t.svg,v $">
13 <OperatorScript> 13 <OperatorScript>
14 <Paragraph> 14 <Paragraph>
15 The purpose of this test is to validate the interaction of text- anchor 15 The purpose of this test is to validate the interaction of text- anchor
16 and x/y glyph positioning. 16 and x/y glyph positioning.
17 </Paragraph> 17 </Paragraph>
18 <Paragraph> 18 <Paragraph>
19 Each row shows a different combination of x/y values: 1, more th an characters, 19 Each row shows a different combination of x/y values: 1, more th an characters,
20 fewer than characters. Each column shows different anchor values : start, middle 20 fewer than characters. Each column shows different anchor values : start, middle
21 and end. 21 and end.
22 </Paragraph> 22 </Paragraph>
23 <Paragraph> 23 <Paragraph>
24 The blue markers show the various x/y absolute positions around which text 24 The blue markers show the various x/y absolute positions around which text
25 chunks should be anchored. The glyphs are black squares of incre asing sizes. 25 chunks should be anchored. The glyphs are black squares of incre asing sizes.
26 </Paragraph> 26 </Paragraph>
27 </OperatorScript> 27 </OperatorScript>
28 </SVGTestCase> 28 </SVGTestCase>
29 <title id="test-title">text-fontSize-01-t.svg</title> 29 <title id="test-title">text-fontSize-01-t.svg</title>
30 <desc id="test-desc"/> 30 <desc id="test-desc"/>
31 31
32 <script xlink:href="../../fast/repaint/resources/repaint.js"></script> 32 <script xlink:href="../../fast/repaint/resources/text-based-repaint.js"></sc ript>
33 <!--======================================================================-- > 33 <!--======================================================================-- >
34 <!--Content of Test Case follows... =====================-- > 34 <!--Content of Test Case follows... =====================-- >
35 <!--======================================================================-- > 35 <!--======================================================================-- >
36 <g id="test-body-content" font-size="16"> 36 <g id="test-body-content" font-size="16">
37 <defs> 37 <defs>
38 <font id="embeded" horiz-adv-x="224"> 38 <font id="embeded" horiz-adv-x="224">
39 <font-face font-family="embeded" units-per-em="1000" panose-1="0 0 0 0 0 0 0 0 0 0" ascent="917" descent="-250" alphabetic="0"/> 39 <font-face font-family="embeded" units-per-em="1000" panose-1="0 0 0 0 0 0 0 0 0 0" ascent="917" descent="-250" alphabetic="0"/>
40 <missing-glyph horiz-adv-x="800" d="M50 0V800H750V0H50ZM700 50V7 50H100V50H700Z"/> 40 <missing-glyph horiz-adv-x="800" d="M50 0V800H750V0H50ZM700 50V7 50H100V50H700Z"/>
41 <glyph unicode="1" glyph-name="gl_1" horiz-adv-x="1500" d="M 0 0 L 250 0 L 250 250 L 0 250 Z"/> 41 <glyph unicode="1" glyph-name="gl_1" horiz-adv-x="1500" d="M 0 0 L 250 0 L 250 250 L 0 250 Z"/>
42 <glyph unicode="2" glyph-name="gl_2" horiz-adv-x="1500" d="M 0 0 L 500 0 L 500 500 L 0 500 Z"/> 42 <glyph unicode="2" glyph-name="gl_2" horiz-adv-x="1500" d="M 0 0 L 500 0 L 500 500 L 0 500 Z"/>
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
161 161
162 <script> 162 <script>
163 if (window.testRunner) 163 if (window.testRunner)
164 testRunner.dumpSelectionRect(); 164 testRunner.dumpSelectionRect();
165 165
166 function repaintTest() { 166 function repaintTest() {
167 document.execCommand("SelectAll"); 167 document.execCommand("SelectAll");
168 } 168 }
169 </script> 169 </script>
170 </svg> 170 </svg>
OLDNEW
« no previous file with comments | « LayoutTests/svg/text/text-rescale.html ('k') | LayoutTests/svg/text/text-viewbox-rescale.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698