Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / svg / W3C-SVG-1.1 / styling-css-05-b.svg
blob71e401e5a5fa4fa728bbb3a0e839e33cf27633ad
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1 Basic//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11-basic.dtd">
3 <!--======================================================================-->
4 <!--= Copyright 2000 World Wide Web Consortium, (Massachusetts =-->
5 <!--= Institute of Technology, Institut National de Recherche en =-->
6 <!--= Informatique et en Automatique, Keio University). All Rights =-->
7 <!--= Reserved. See http://www.w3.org/Consortium/Legal/. =-->
8 <!--======================================================================-->
9 <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" baseProfile="basic" id="svg-root" width="100%" height="100%" viewBox="0 0 480 360">
10 <SVGTestCase xmlns:testcase="http://www.w3.org/2000/02/svg/testsuite/description/" xmlns="http://www.w3.org/2000/02/svg/testsuite/description/" reviewer="ED" owner="CL" desc="language selector test" status="accepted" version="$Revision: 1.5 $" testname="$RCSfile: styling-css-05-b.svg,v $">
11 <OperatorScript>
12 <Paragraph>
13 Tests the language selectors, :lang(c). The phrase "Good morning!" should be in green. The phrase "Bonne avant-midi!" should be in blue; in addition, the "avant-midi" should be italic because its Canadian French.
14 </Paragraph>
15 <Paragraph>Note that a less specific language (such as fr) also matches a more specific language (such as fr-CA) but a more specific language (such as en-GB) does not match a less specific language (such as en).
16 Also note that language tags,and thus language selectors are case-insensitive.</Paragraph>
17 </OperatorScript>
18 </SVGTestCase>
19 <title id="test-title">$RCSfile: styling-css-05-b.svg,v $</title>
20 <g id="test-body-content">
21 <style type="text/css">
22 :lang(en) { fill: green}
23 :lang(fr) { fill: blue }
24 :lang(fr-ca) {font-style: italic}
26 </style>
27 <g text-anchor="middle" font-size="30">
28 <text x="240" y="100" xml:lang="en">Good morning!</text>
29 <text x="240" y="200" xml:lang="fr">Bonne <tspan xml:lang="fr-CA">avant-midi</tspan>!</text>
30 </g>
31 </g>
32 <text id="revision" x="10" y="340" font-size="40" stroke="none" fill="black">$Revision: 1.5 $</text>
33 <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>
34 </svg>