3 Any copyright is dedicated to the Public Domain.
4 http://creativecommons.org/publicdomain/zero/1.0/
6 <svg version=
"1.1" xmlns=
"http://www.w3.org/2000/svg">
7 <title>Testcase for switch
</title>
8 <!-- From https://bugzilla.mozilla.org/show_bug.cgi?id=409383 -->
10 <rect width=
"100%" height=
"100%" fill=
"lime"/>
12 <rect x=
"50" y=
"100" width=
"50" height=
"50" fill=
"red"/>
14 <!-- first switch item is visible -->
15 <rect x=
"50" y=
"100" width=
"50" height=
"50" fill=
"lime"/>
16 <rect x=
"50" y=
"100" width=
"50" height=
"50" fill=
"red"/>
17 <rect x=
"50" y=
"100" width=
"50" height=
"50" fill=
"red"/>
18 <rect x=
"50" y=
"100" width=
"50" height=
"50" fill=
"red"/>
19 <rect x=
"50" y=
"100" width=
"50" height=
"50" fill=
"red"/>
20 <rect x=
"50" y=
"100" width=
"50" height=
"50" fill=
"red"/>
21 <rect x=
"50" y=
"100" width=
"50" height=
"50" fill=
"red"/>
22 <rect x=
"50" y=
"100" width=
"50" height=
"50" fill=
"red"/>
23 <rect x=
"50" y=
"100" width=
"50" height=
"50" fill=
"red"/>
24 <rect x=
"50" y=
"100" width=
"50" height=
"50" fill=
"red"/>
25 <rect x=
"50" y=
"100" width=
"50" height=
"50" fill=
"red"/>
26 <rect x=
"50" y=
"100" width=
"50" height=
"50" fill=
"red"/>
29 <rect x=
"200" y=
"100" width=
"50" height=
"50" fill=
"red"/>
31 <!-- test non-matching system language -->
32 <rect systemLanguage=
"foo" x=
"200" y=
"100" width=
"50" height=
"50" fill=
"red"/>
33 <rect x=
"200" y=
"100" width=
"50" height=
"50" fill=
"lime"/>
34 <rect x=
"200" y=
"100" width=
"50" height=
"50" fill=
"red"/>
35 <rect x=
"200" y=
"100" width=
"50" height=
"50" fill=
"red"/>
38 <rect x=
"50" y=
"200" width=
"50" height=
"50" fill=
"red"/>
40 <!-- test matching required features -->
41 <rect requiredFeatures=
"http://www.w3.org/TR/SVG11/feature#CoreAttribute http://www.w3.org/TR/SVG11/feature#Gradient"
42 x=
"50" y=
"200" width=
"50" height=
"50" fill=
"lime"/>
43 <rect x=
"50" y=
"200" width=
"50" height=
"50" fill=
"red"/>
44 <rect x=
"50" y=
"200" width=
"50" height=
"50" fill=
"red"/>
47 <!-- this rectangle intentionally left green -->
48 <rect x=
"200" y=
"200" width=
"50" height=
"50" fill=
"lime"/>
50 <rect x=
"50" y=
"300" width=
"50" height=
"50" fill=
"red"/>
52 <!-- test non-matching required extensions -->
53 <rect requiredExtensions=
"foo" x=
"50" y=
"300" width=
"50" height=
"50" fill=
"red"/>
54 <rect x=
"50" y=
"300" width=
"50" height=
"50" fill=
"lime"/>
55 <rect x=
"50" y=
"300" width=
"50" height=
"50" fill=
"red"/>
56 <rect x=
"50" y=
"300" width=
"50" height=
"50" fill=
"red"/>
60 <!-- test display:none - should see nothing here -->
61 <rect style=
"display: none;" x=
"200" y=
"300" width=
"50" height=
"50" fill=
"red"/>
62 <rect x=
"200" y=
"300" width=
"50" height=
"50" fill=
"red"/>