summaryrefslogtreecommitdiffstats
path: root/testfiles/cli_tests/testcases/systemLanguage.svg
blob: c650dc9044fd2e7f7b1cbf7e516ee538318bdb3d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg xmlns="http://www.w3.org/2000/svg" width="500" height="100">
  <switch id="switch">
    <!-- some fuzz to probe for crashing issues -->
    <rect systemLanguage="" width="1"  height="1"/>
    <rect systemLanguage=" " width="1"  height="1"/>
    <rect systemLanguage="_" width="1"  height="1"/>
    <rect systemLanguage="-" width="1"  height="1"/>
    <rect systemLanguage="#" width="1"  height="1"/>
    <rect systemLanguage="-CH" width="1"  height="1"/>

    <!-- use rects instead of text to avoid any issues with font rendering -->
    <!-- note: we don't support the 'allowReorder' attribute yet -->
    <rect systemLanguage="en"     x="10"  y="10" width="80" height="80" fill="#00f"/>
    <rect systemLanguage="fr"     x="110" y="10" width="80" height="80" fill="#00f"/>
    <rect systemLanguage="de-CH"  x="210" y="10" width="80" height="80" fill="#00f"/>
    <rect systemLanguage="es, pt" x="310" y="10" width="80" height="80" fill="#00f"/>
    <rect                         x="410" y="10" width="80" height="80" fill="#00f"/>
  </switch>
</svg>