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: LayoutTests/svg/custom/glyph-selection-lang-attribute.svg

Issue 656913006: Remove SVG fonts (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Update tests for landing Created 6 years, 2 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
(Empty)
1 <?xml version="1.0" encoding="UTF-8"?>
2 <svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 480 360">
3 <defs>
4 <font horiz-adv-x="500">
5 <font-face font-family="SVGFont" units-per-em="1000" ascent="800" descen t="200" alphabetic="200"/>
6 <missing-glyph horiz-adv-x="500" d="M0 0L500 0L500 1000L0 1000M50 50L50 950L450 950L450 50Z"/>
7 <glyph unicode=" " glyph-name="space"/>
8 <glyph unicode="a" glyph-name="upward-triangle" lang="en" d="M0 0L500 0L 250 900Z"/>
9 <glyph unicode="a" glyph-name="square" lang="fr" d="M0 250L500 250L500 7 50L0 750Z"/>
10 </font>
11
12 <font horiz-adv-x="500">
13 <font-face font-family="SVGFont1" units-per-em="1000" ascent="800" desce nt="200" alphabetic="200"/>
14 <missing-glyph horiz-adv-x="500" d="M0 0L500 0L500 1000L0 1000M50 50L50 950L450 950L450 50Z"/>
15 <glyph unicode=" " glyph-name="space"/>
16 <glyph unicode="a" glyph-name="upward-triangle" xml:lang="en" d="M0 0L50 0 0L250 900Z"/>
17 <glyph unicode="a" glyph-name="square" xml:lang="fr" d="M0 250L500 250L5 00 750L0 750Z"/>
18 </font>
19 </defs>
20
21 <g font-family="SVGFont" font-size="50">
22 <!-- Should produce an upward pointing triangle -->
23 <text x="50" y="50" lang="fr" xml:lang="en">a</text>
24
25 <!-- Should produce a square -->
26 <text x="50" y="120" lang="en" xml:lang="fr">a</text>
27
28 <!-- Should produce missing glyph -->
29 <text x="50" y="190" lang="en" xml:lang="bogus">a</text>
30
31 <!-- Should produce missing glyph -->
32 <text x="50" y="260" lang="fr" xml:lang="bogus">a</text>
33
34 <!-- Should produce missing glyph -->
35 <text x="50" y="330" lang="" xml:lang="">a</text>
36 </g>
37
38 <g font-family="SVGFont1" font-size="50" transform="translate(100, 0)">
39 <!-- Should produce an upward pointing triangle -->
40 <text x="50" y="50" lang="fr" xml:lang="en">a</text>
41
42 <!-- Should produce an upward pointing triangle -->
43 <text x="50" y="120" lang="en" xml:lang="fr">a</text>
44
45 <!-- Should produce an upward pointing triangle -->
46 <text x="50" y="190" lang="en" xml:lang="bogus">a</text>
47
48 <!-- Should produce an upward pointing triangle -->
49 <text x="50" y="260" lang="fr" xml:lang="bogus">a</text>
50
51 <!-- Should produce an upward pointing triangle -->
52 <text x="50" y="330" lang="" xml:lang="">a</text>
53 </g>
54
55 <rect x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>
56 </svg>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698