mirror of
https://github.com/swc-project/swc.git
synced 2024-12-30 17:15:11 +03:00
2924 lines
101 KiB
Plaintext
2924 lines
101 KiB
Plaintext
|
||
x Document
|
||
,-[$DIR/tests/fixture/element/svg/input.html:1:1]
|
||
1 | ,-> <html xmlns="http://www.w3.org/1999/xhtml">
|
||
2 | | <head>
|
||
3 | | <title>XTech SVG Demo</title>
|
||
4 | | <style>
|
||
5 | | stop.begin { stop-color:yellow; }
|
||
6 | | stop.end { stop-color:green; }
|
||
7 | | body.invalid stop.end { stop-color:red; }
|
||
8 | | #err { display:none; }
|
||
9 | | body.invalid #err { display:inline; }
|
||
10 | | </style>
|
||
11 | | <script>
|
||
12 | | function signalError() {
|
||
13 | | document.getElementById('body').setAttribute("class", "invalid");
|
||
14 | | }
|
||
15 | | </script>
|
||
16 | | </head>
|
||
17 | | <body id="body"
|
||
18 | | style="position:absolute; z-index:0; border:1px solid black; left:5%; top:5%; width:90%; height:90%;">
|
||
19 | | <form>
|
||
20 | | <fieldset>
|
||
21 | | <legend>HTML Form</legend>
|
||
22 | | <p><label>Введите что-нибудь:</label>
|
||
23 | | <input type="text"/>
|
||
24 | | <span id="err">Incorrect value!</span></p>
|
||
25 | | <p><input type="button" value="Activate!" onclick="signalError();" /></p>
|
||
26 | | </fieldset>
|
||
27 | | </form>
|
||
28 | |
|
||
29 | | <svg xmlns="http://www.w3.org/2000/svg" version="1.1"
|
||
30 | | viewBox="0 0 100 100" preserveAspectRatio="xMidYMid slice"
|
||
31 | | style="width:100%; height:100%; position:absolute; top:0; left:0; z-index:-1;" baseProfile="test">
|
||
32 | | <linearGradient id="gradient">
|
||
33 | | <stop class="begin" offset="0%"/>
|
||
34 | | <stop class="end" offset="100%"/>
|
||
35 | | </linearGradient>
|
||
36 | | <rect x="0" y="0" width="100" height="100" style="fill:url(#gradient)" />
|
||
37 | | <circle cx="50" cy="50" r="30" style="fill:url(#gradient)" />
|
||
38 | | </svg>
|
||
39 | |
|
||
40 | | <svg viewBox="0 0 420 200" xmlns="http://www.w3.org/2000/svg">
|
||
41 | | <filter id="noise1" x="0" y="0" width="100%" height="100%">
|
||
42 | | <feTurbulence baseFrequency="0.025" />
|
||
43 | | </filter>
|
||
44 | | <filter id="noise2" x="0" y="0" width="100%" height="100%">
|
||
45 | | <feTurbulence baseFrequency="0.05" />
|
||
46 | | </filter>
|
||
47 | |
|
||
48 | | <rect x="0" y="0" width="200" height="200" style="filter: url(#noise1);" />
|
||
49 | | <rect x="0" y="0" width="200" height="200" style="filter: url(#noise2); transform: translateX(220px);" />
|
||
50 | | </svg>
|
||
51 | |
|
||
52 | | <svg viewBox="0 0 200 100" xmlns="http://www.w3.org/2000/svg">
|
||
53 | | <text xml:lang="en-US">This is some English text</text>
|
||
54 | | </svg>
|
||
55 | |
|
||
56 | | <svg version="1.1"
|
||
57 | | xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
|
||
58 | | width="200" height="200">
|
||
59 | | <image x="90" y="-65" width="128" height="146" transform="rotate(45)"
|
||
60 | | xlink:href="https://developer.mozilla.org/en-US/docs/Web/SVG/Element/image/mdn_logo_only_color.png"/>
|
||
61 | | </svg>
|
||
62 | |
|
||
63 | | <svg viewBox="0 0 140 50" xmlns="http://www.w3.org/2000/svg">
|
||
64 | | <text y="20" xml:space="default">Default spacing</text>
|
||
65 | | <text y="40" xml:space="preserve">Preserved spacing</text>
|
||
66 | | </svg>
|
||
67 | |
|
||
68 | | <svg viewBox="0 0 200 100" xmlns="http://www.w3.org/2000/svg">
|
||
69 | | <text xml:lang="en-US">This is some English text</text>
|
||
70 | | <a xlink:href= "http://example.com/link/" xlink:title="The link leads to an example page that is of little interest">
|
||
71 | | <text x="10" y="25" >An example link.</text>
|
||
72 | | </a>
|
||
73 | | </svg>
|
||
74 | |
|
||
75 | | <svg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg">
|
||
76 | | <style>
|
||
77 | | div {
|
||
78 | | color: white;
|
||
79 | | font: 18px serif;
|
||
80 | | height: 100%;
|
||
81 | | overflow: auto;
|
||
82 | | }
|
||
83 | | </style>
|
||
84 | |
|
||
85 | | <polygon points="5,5 195,10 185,185 10,195" />
|
||
86 | |
|
||
87 | | <!-- Common use case: embed HTML text into SVG -->
|
||
88 | | <foreignObject x="20" y="20" width="160" height="160">
|
||
89 | | <!--
|
||
90 | | In the context of SVG embedded in an HTML document, the XHTML
|
||
91 | | namespace could be omitted, but it is mandatory in the
|
||
92 | | context of an SVG document
|
||
93 | | -->
|
||
94 | | <div xmlns="http://www.w3.org/1999/xhtml">
|
||
95 | | Lorem ipsum dolor sit amet, consectetur adipiscing elit.
|
||
96 | | Sed mollis mollis mi ut ultricies. Nullam magna ipsum,
|
||
97 | | porta vel dui convallis, rutrum imperdiet eros. Aliquam
|
||
98 | | erat volutpat.
|
||
99 | | </div>
|
||
100 | | </foreignObject>
|
||
101 | | </svg>
|
||
102 | |
|
||
103 | | <svg style="font-size: 20px" width="400px" height="220px" viewBox="0 0 200 110">
|
||
104 | | <g transform="translate(10,80)">
|
||
105 | | <path d="M 0 0 L 150 0 A 75 75 0 0 0 0 0
|
||
106 | | M 30 0 L 30 -60 M 30 -10 L 40 -10 L 40 0"
|
||
107 | | fill="none" stroke="black"></path>
|
||
108 | | <text transform="translate(10,20)">1</text>
|
||
109 | | <switch transform="translate(35,-40)">
|
||
110 | | <foreignObject width="200" height="50"
|
||
111 | | requiredExtensions="http://www.w3.org/1998/Math/MathML">
|
||
112 | | <math>
|
||
113 | | <msqrt>
|
||
114 | | <mn>2</mn>
|
||
115 | | <mi>r</mi>
|
||
116 | | <mo>−</mo>
|
||
117 | | <mn>1</mn>
|
||
118 | | </msqrt>
|
||
119 | | </math>
|
||
120 | | </foreignObject>
|
||
121 | | <text>\sqrt{2r - 1}</text>
|
||
122 | | </switch>
|
||
123 | | </g>
|
||
124 | | </svg>
|
||
125 | |
|
||
126 | | </body>
|
||
127 | `-> </html>
|
||
`----
|
||
|
||
x Child
|
||
,-[$DIR/tests/fixture/element/svg/input.html:1:1]
|
||
1 | ,-> <html xmlns="http://www.w3.org/1999/xhtml">
|
||
2 | | <head>
|
||
3 | | <title>XTech SVG Demo</title>
|
||
4 | | <style>
|
||
5 | | stop.begin { stop-color:yellow; }
|
||
6 | | stop.end { stop-color:green; }
|
||
7 | | body.invalid stop.end { stop-color:red; }
|
||
8 | | #err { display:none; }
|
||
9 | | body.invalid #err { display:inline; }
|
||
10 | | </style>
|
||
11 | | <script>
|
||
12 | | function signalError() {
|
||
13 | | document.getElementById('body').setAttribute("class", "invalid");
|
||
14 | | }
|
||
15 | | </script>
|
||
16 | | </head>
|
||
17 | | <body id="body"
|
||
18 | | style="position:absolute; z-index:0; border:1px solid black; left:5%; top:5%; width:90%; height:90%;">
|
||
19 | | <form>
|
||
20 | | <fieldset>
|
||
21 | | <legend>HTML Form</legend>
|
||
22 | | <p><label>Введите что-нибудь:</label>
|
||
23 | | <input type="text"/>
|
||
24 | | <span id="err">Incorrect value!</span></p>
|
||
25 | | <p><input type="button" value="Activate!" onclick="signalError();" /></p>
|
||
26 | | </fieldset>
|
||
27 | | </form>
|
||
28 | |
|
||
29 | | <svg xmlns="http://www.w3.org/2000/svg" version="1.1"
|
||
30 | | viewBox="0 0 100 100" preserveAspectRatio="xMidYMid slice"
|
||
31 | | style="width:100%; height:100%; position:absolute; top:0; left:0; z-index:-1;" baseProfile="test">
|
||
32 | | <linearGradient id="gradient">
|
||
33 | | <stop class="begin" offset="0%"/>
|
||
34 | | <stop class="end" offset="100%"/>
|
||
35 | | </linearGradient>
|
||
36 | | <rect x="0" y="0" width="100" height="100" style="fill:url(#gradient)" />
|
||
37 | | <circle cx="50" cy="50" r="30" style="fill:url(#gradient)" />
|
||
38 | | </svg>
|
||
39 | |
|
||
40 | | <svg viewBox="0 0 420 200" xmlns="http://www.w3.org/2000/svg">
|
||
41 | | <filter id="noise1" x="0" y="0" width="100%" height="100%">
|
||
42 | | <feTurbulence baseFrequency="0.025" />
|
||
43 | | </filter>
|
||
44 | | <filter id="noise2" x="0" y="0" width="100%" height="100%">
|
||
45 | | <feTurbulence baseFrequency="0.05" />
|
||
46 | | </filter>
|
||
47 | |
|
||
48 | | <rect x="0" y="0" width="200" height="200" style="filter: url(#noise1);" />
|
||
49 | | <rect x="0" y="0" width="200" height="200" style="filter: url(#noise2); transform: translateX(220px);" />
|
||
50 | | </svg>
|
||
51 | |
|
||
52 | | <svg viewBox="0 0 200 100" xmlns="http://www.w3.org/2000/svg">
|
||
53 | | <text xml:lang="en-US">This is some English text</text>
|
||
54 | | </svg>
|
||
55 | |
|
||
56 | | <svg version="1.1"
|
||
57 | | xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
|
||
58 | | width="200" height="200">
|
||
59 | | <image x="90" y="-65" width="128" height="146" transform="rotate(45)"
|
||
60 | | xlink:href="https://developer.mozilla.org/en-US/docs/Web/SVG/Element/image/mdn_logo_only_color.png"/>
|
||
61 | | </svg>
|
||
62 | |
|
||
63 | | <svg viewBox="0 0 140 50" xmlns="http://www.w3.org/2000/svg">
|
||
64 | | <text y="20" xml:space="default">Default spacing</text>
|
||
65 | | <text y="40" xml:space="preserve">Preserved spacing</text>
|
||
66 | | </svg>
|
||
67 | |
|
||
68 | | <svg viewBox="0 0 200 100" xmlns="http://www.w3.org/2000/svg">
|
||
69 | | <text xml:lang="en-US">This is some English text</text>
|
||
70 | | <a xlink:href= "http://example.com/link/" xlink:title="The link leads to an example page that is of little interest">
|
||
71 | | <text x="10" y="25" >An example link.</text>
|
||
72 | | </a>
|
||
73 | | </svg>
|
||
74 | |
|
||
75 | | <svg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg">
|
||
76 | | <style>
|
||
77 | | div {
|
||
78 | | color: white;
|
||
79 | | font: 18px serif;
|
||
80 | | height: 100%;
|
||
81 | | overflow: auto;
|
||
82 | | }
|
||
83 | | </style>
|
||
84 | |
|
||
85 | | <polygon points="5,5 195,10 185,185 10,195" />
|
||
86 | |
|
||
87 | | <!-- Common use case: embed HTML text into SVG -->
|
||
88 | | <foreignObject x="20" y="20" width="160" height="160">
|
||
89 | | <!--
|
||
90 | | In the context of SVG embedded in an HTML document, the XHTML
|
||
91 | | namespace could be omitted, but it is mandatory in the
|
||
92 | | context of an SVG document
|
||
93 | | -->
|
||
94 | | <div xmlns="http://www.w3.org/1999/xhtml">
|
||
95 | | Lorem ipsum dolor sit amet, consectetur adipiscing elit.
|
||
96 | | Sed mollis mollis mi ut ultricies. Nullam magna ipsum,
|
||
97 | | porta vel dui convallis, rutrum imperdiet eros. Aliquam
|
||
98 | | erat volutpat.
|
||
99 | | </div>
|
||
100 | | </foreignObject>
|
||
101 | | </svg>
|
||
102 | |
|
||
103 | | <svg style="font-size: 20px" width="400px" height="220px" viewBox="0 0 200 110">
|
||
104 | | <g transform="translate(10,80)">
|
||
105 | | <path d="M 0 0 L 150 0 A 75 75 0 0 0 0 0
|
||
106 | | M 30 0 L 30 -60 M 30 -10 L 40 -10 L 40 0"
|
||
107 | | fill="none" stroke="black"></path>
|
||
108 | | <text transform="translate(10,20)">1</text>
|
||
109 | | <switch transform="translate(35,-40)">
|
||
110 | | <foreignObject width="200" height="50"
|
||
111 | | requiredExtensions="http://www.w3.org/1998/Math/MathML">
|
||
112 | | <math>
|
||
113 | | <msqrt>
|
||
114 | | <mn>2</mn>
|
||
115 | | <mi>r</mi>
|
||
116 | | <mo>−</mo>
|
||
117 | | <mn>1</mn>
|
||
118 | | </msqrt>
|
||
119 | | </math>
|
||
120 | | </foreignObject>
|
||
121 | | <text>\sqrt{2r - 1}</text>
|
||
122 | | </switch>
|
||
123 | | </g>
|
||
124 | | </svg>
|
||
125 | |
|
||
126 | `-> </body>
|
||
127 | </html>
|
||
`----
|
||
|
||
x Element
|
||
,-[$DIR/tests/fixture/element/svg/input.html:1:1]
|
||
1 | ,-> <html xmlns="http://www.w3.org/1999/xhtml">
|
||
2 | | <head>
|
||
3 | | <title>XTech SVG Demo</title>
|
||
4 | | <style>
|
||
5 | | stop.begin { stop-color:yellow; }
|
||
6 | | stop.end { stop-color:green; }
|
||
7 | | body.invalid stop.end { stop-color:red; }
|
||
8 | | #err { display:none; }
|
||
9 | | body.invalid #err { display:inline; }
|
||
10 | | </style>
|
||
11 | | <script>
|
||
12 | | function signalError() {
|
||
13 | | document.getElementById('body').setAttribute("class", "invalid");
|
||
14 | | }
|
||
15 | | </script>
|
||
16 | | </head>
|
||
17 | | <body id="body"
|
||
18 | | style="position:absolute; z-index:0; border:1px solid black; left:5%; top:5%; width:90%; height:90%;">
|
||
19 | | <form>
|
||
20 | | <fieldset>
|
||
21 | | <legend>HTML Form</legend>
|
||
22 | | <p><label>Введите что-нибудь:</label>
|
||
23 | | <input type="text"/>
|
||
24 | | <span id="err">Incorrect value!</span></p>
|
||
25 | | <p><input type="button" value="Activate!" onclick="signalError();" /></p>
|
||
26 | | </fieldset>
|
||
27 | | </form>
|
||
28 | |
|
||
29 | | <svg xmlns="http://www.w3.org/2000/svg" version="1.1"
|
||
30 | | viewBox="0 0 100 100" preserveAspectRatio="xMidYMid slice"
|
||
31 | | style="width:100%; height:100%; position:absolute; top:0; left:0; z-index:-1;" baseProfile="test">
|
||
32 | | <linearGradient id="gradient">
|
||
33 | | <stop class="begin" offset="0%"/>
|
||
34 | | <stop class="end" offset="100%"/>
|
||
35 | | </linearGradient>
|
||
36 | | <rect x="0" y="0" width="100" height="100" style="fill:url(#gradient)" />
|
||
37 | | <circle cx="50" cy="50" r="30" style="fill:url(#gradient)" />
|
||
38 | | </svg>
|
||
39 | |
|
||
40 | | <svg viewBox="0 0 420 200" xmlns="http://www.w3.org/2000/svg">
|
||
41 | | <filter id="noise1" x="0" y="0" width="100%" height="100%">
|
||
42 | | <feTurbulence baseFrequency="0.025" />
|
||
43 | | </filter>
|
||
44 | | <filter id="noise2" x="0" y="0" width="100%" height="100%">
|
||
45 | | <feTurbulence baseFrequency="0.05" />
|
||
46 | | </filter>
|
||
47 | |
|
||
48 | | <rect x="0" y="0" width="200" height="200" style="filter: url(#noise1);" />
|
||
49 | | <rect x="0" y="0" width="200" height="200" style="filter: url(#noise2); transform: translateX(220px);" />
|
||
50 | | </svg>
|
||
51 | |
|
||
52 | | <svg viewBox="0 0 200 100" xmlns="http://www.w3.org/2000/svg">
|
||
53 | | <text xml:lang="en-US">This is some English text</text>
|
||
54 | | </svg>
|
||
55 | |
|
||
56 | | <svg version="1.1"
|
||
57 | | xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
|
||
58 | | width="200" height="200">
|
||
59 | | <image x="90" y="-65" width="128" height="146" transform="rotate(45)"
|
||
60 | | xlink:href="https://developer.mozilla.org/en-US/docs/Web/SVG/Element/image/mdn_logo_only_color.png"/>
|
||
61 | | </svg>
|
||
62 | |
|
||
63 | | <svg viewBox="0 0 140 50" xmlns="http://www.w3.org/2000/svg">
|
||
64 | | <text y="20" xml:space="default">Default spacing</text>
|
||
65 | | <text y="40" xml:space="preserve">Preserved spacing</text>
|
||
66 | | </svg>
|
||
67 | |
|
||
68 | | <svg viewBox="0 0 200 100" xmlns="http://www.w3.org/2000/svg">
|
||
69 | | <text xml:lang="en-US">This is some English text</text>
|
||
70 | | <a xlink:href= "http://example.com/link/" xlink:title="The link leads to an example page that is of little interest">
|
||
71 | | <text x="10" y="25" >An example link.</text>
|
||
72 | | </a>
|
||
73 | | </svg>
|
||
74 | |
|
||
75 | | <svg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg">
|
||
76 | | <style>
|
||
77 | | div {
|
||
78 | | color: white;
|
||
79 | | font: 18px serif;
|
||
80 | | height: 100%;
|
||
81 | | overflow: auto;
|
||
82 | | }
|
||
83 | | </style>
|
||
84 | |
|
||
85 | | <polygon points="5,5 195,10 185,185 10,195" />
|
||
86 | |
|
||
87 | | <!-- Common use case: embed HTML text into SVG -->
|
||
88 | | <foreignObject x="20" y="20" width="160" height="160">
|
||
89 | | <!--
|
||
90 | | In the context of SVG embedded in an HTML document, the XHTML
|
||
91 | | namespace could be omitted, but it is mandatory in the
|
||
92 | | context of an SVG document
|
||
93 | | -->
|
||
94 | | <div xmlns="http://www.w3.org/1999/xhtml">
|
||
95 | | Lorem ipsum dolor sit amet, consectetur adipiscing elit.
|
||
96 | | Sed mollis mollis mi ut ultricies. Nullam magna ipsum,
|
||
97 | | porta vel dui convallis, rutrum imperdiet eros. Aliquam
|
||
98 | | erat volutpat.
|
||
99 | | </div>
|
||
100 | | </foreignObject>
|
||
101 | | </svg>
|
||
102 | |
|
||
103 | | <svg style="font-size: 20px" width="400px" height="220px" viewBox="0 0 200 110">
|
||
104 | | <g transform="translate(10,80)">
|
||
105 | | <path d="M 0 0 L 150 0 A 75 75 0 0 0 0 0
|
||
106 | | M 30 0 L 30 -60 M 30 -10 L 40 -10 L 40 0"
|
||
107 | | fill="none" stroke="black"></path>
|
||
108 | | <text transform="translate(10,20)">1</text>
|
||
109 | | <switch transform="translate(35,-40)">
|
||
110 | | <foreignObject width="200" height="50"
|
||
111 | | requiredExtensions="http://www.w3.org/1998/Math/MathML">
|
||
112 | | <math>
|
||
113 | | <msqrt>
|
||
114 | | <mn>2</mn>
|
||
115 | | <mi>r</mi>
|
||
116 | | <mo>−</mo>
|
||
117 | | <mn>1</mn>
|
||
118 | | </msqrt>
|
||
119 | | </math>
|
||
120 | | </foreignObject>
|
||
121 | | <text>\sqrt{2r - 1}</text>
|
||
122 | | </switch>
|
||
123 | | </g>
|
||
124 | | </svg>
|
||
125 | |
|
||
126 | `-> </body>
|
||
127 | </html>
|
||
`----
|
||
|
||
x Attribute
|
||
,-[$DIR/tests/fixture/element/svg/input.html:1:1]
|
||
1 | <html xmlns="http://www.w3.org/1999/xhtml">
|
||
: ^
|
||
`----
|
||
|
||
x Child
|
||
,-[$DIR/tests/fixture/element/svg/input.html:2:1]
|
||
2 | ,-> <head>
|
||
3 | | <title>XTech SVG Demo</title>
|
||
4 | | <style>
|
||
5 | | stop.begin { stop-color:yellow; }
|
||
6 | | stop.end { stop-color:green; }
|
||
7 | | body.invalid stop.end { stop-color:red; }
|
||
8 | | #err { display:none; }
|
||
9 | | body.invalid #err { display:inline; }
|
||
10 | | </style>
|
||
11 | | <script>
|
||
12 | | function signalError() {
|
||
13 | | document.getElementById('body').setAttribute("class", "invalid");
|
||
14 | | }
|
||
15 | `-> </script>
|
||
16 | </head>
|
||
`----
|
||
|
||
x Element
|
||
,-[$DIR/tests/fixture/element/svg/input.html:2:1]
|
||
2 | ,-> <head>
|
||
3 | | <title>XTech SVG Demo</title>
|
||
4 | | <style>
|
||
5 | | stop.begin { stop-color:yellow; }
|
||
6 | | stop.end { stop-color:green; }
|
||
7 | | body.invalid stop.end { stop-color:red; }
|
||
8 | | #err { display:none; }
|
||
9 | | body.invalid #err { display:inline; }
|
||
10 | | </style>
|
||
11 | | <script>
|
||
12 | | function signalError() {
|
||
13 | | document.getElementById('body').setAttribute("class", "invalid");
|
||
14 | | }
|
||
15 | `-> </script>
|
||
16 | </head>
|
||
`----
|
||
|
||
x Child
|
||
,-[$DIR/tests/fixture/element/svg/input.html:2:1]
|
||
2 | ,-> <head>
|
||
3 | `-> <title>XTech SVG Demo</title>
|
||
`----
|
||
|
||
x Text
|
||
,-[$DIR/tests/fixture/element/svg/input.html:2:1]
|
||
2 | ,-> <head>
|
||
3 | `-> <title>XTech SVG Demo</title>
|
||
`----
|
||
|
||
x Child
|
||
,-[$DIR/tests/fixture/element/svg/input.html:3:5]
|
||
3 | <title>XTech SVG Demo</title>
|
||
: ^^^^^^^^^^^^^^^^^^^^^
|
||
`----
|
||
|
||
x Element
|
||
,-[$DIR/tests/fixture/element/svg/input.html:3:5]
|
||
3 | <title>XTech SVG Demo</title>
|
||
: ^^^^^^^^^^^^^^^^^^^^^
|
||
`----
|
||
|
||
x Child
|
||
,-[$DIR/tests/fixture/element/svg/input.html:3:5]
|
||
3 | <title>XTech SVG Demo</title>
|
||
: ^^^^^^^^^^^^^^
|
||
`----
|
||
|
||
x Text
|
||
,-[$DIR/tests/fixture/element/svg/input.html:3:5]
|
||
3 | <title>XTech SVG Demo</title>
|
||
: ^^^^^^^^^^^^^^
|
||
`----
|
||
|
||
x Child
|
||
,-[$DIR/tests/fixture/element/svg/input.html:3:5]
|
||
3 | ,-> <title>XTech SVG Demo</title>
|
||
4 | `-> <style>
|
||
`----
|
||
|
||
x Text
|
||
,-[$DIR/tests/fixture/element/svg/input.html:3:5]
|
||
3 | ,-> <title>XTech SVG Demo</title>
|
||
4 | `-> <style>
|
||
`----
|
||
|
||
x Child
|
||
,-[$DIR/tests/fixture/element/svg/input.html:4:5]
|
||
4 | ,-> <style>
|
||
5 | | stop.begin { stop-color:yellow; }
|
||
6 | | stop.end { stop-color:green; }
|
||
7 | | body.invalid stop.end { stop-color:red; }
|
||
8 | | #err { display:none; }
|
||
9 | | body.invalid #err { display:inline; }
|
||
10 | `-> </style>
|
||
`----
|
||
|
||
x Element
|
||
,-[$DIR/tests/fixture/element/svg/input.html:4:5]
|
||
4 | ,-> <style>
|
||
5 | | stop.begin { stop-color:yellow; }
|
||
6 | | stop.end { stop-color:green; }
|
||
7 | | body.invalid stop.end { stop-color:red; }
|
||
8 | | #err { display:none; }
|
||
9 | | body.invalid #err { display:inline; }
|
||
10 | `-> </style>
|
||
`----
|
||
|
||
x Child
|
||
,-[$DIR/tests/fixture/element/svg/input.html:4:5]
|
||
4 | ,-> <style>
|
||
5 | | stop.begin { stop-color:yellow; }
|
||
6 | | stop.end { stop-color:green; }
|
||
7 | | body.invalid stop.end { stop-color:red; }
|
||
8 | | #err { display:none; }
|
||
9 | | body.invalid #err { display:inline; }
|
||
10 | `-> </style>
|
||
`----
|
||
|
||
x Text
|
||
,-[$DIR/tests/fixture/element/svg/input.html:4:5]
|
||
4 | ,-> <style>
|
||
5 | | stop.begin { stop-color:yellow; }
|
||
6 | | stop.end { stop-color:green; }
|
||
7 | | body.invalid stop.end { stop-color:red; }
|
||
8 | | #err { display:none; }
|
||
9 | | body.invalid #err { display:inline; }
|
||
10 | `-> </style>
|
||
`----
|
||
|
||
x Child
|
||
,-[$DIR/tests/fixture/element/svg/input.html:10:5]
|
||
10 | ,-> </style>
|
||
11 | `-> <script>
|
||
`----
|
||
|
||
x Text
|
||
,-[$DIR/tests/fixture/element/svg/input.html:10:5]
|
||
10 | ,-> </style>
|
||
11 | `-> <script>
|
||
`----
|
||
|
||
x Child
|
||
,-[$DIR/tests/fixture/element/svg/input.html:11:5]
|
||
11 | ,-> <script>
|
||
12 | | function signalError() {
|
||
13 | | document.getElementById('body').setAttribute("class", "invalid");
|
||
14 | | }
|
||
15 | `-> </script>
|
||
`----
|
||
|
||
x Element
|
||
,-[$DIR/tests/fixture/element/svg/input.html:11:5]
|
||
11 | ,-> <script>
|
||
12 | | function signalError() {
|
||
13 | | document.getElementById('body').setAttribute("class", "invalid");
|
||
14 | | }
|
||
15 | `-> </script>
|
||
`----
|
||
|
||
x Child
|
||
,-[$DIR/tests/fixture/element/svg/input.html:11:5]
|
||
11 | ,-> <script>
|
||
12 | | function signalError() {
|
||
13 | | document.getElementById('body').setAttribute("class", "invalid");
|
||
14 | | }
|
||
15 | `-> </script>
|
||
`----
|
||
|
||
x Text
|
||
,-[$DIR/tests/fixture/element/svg/input.html:11:5]
|
||
11 | ,-> <script>
|
||
12 | | function signalError() {
|
||
13 | | document.getElementById('body').setAttribute("class", "invalid");
|
||
14 | | }
|
||
15 | `-> </script>
|
||
`----
|
||
|
||
x Child
|
||
,-[$DIR/tests/fixture/element/svg/input.html:15:5]
|
||
15 | </script>
|
||
: ^
|
||
16 | </head>
|
||
`----
|
||
|
||
x Text
|
||
,-[$DIR/tests/fixture/element/svg/input.html:15:5]
|
||
15 | </script>
|
||
: ^
|
||
16 | </head>
|
||
`----
|
||
|
||
x Child
|
||
,-[$DIR/tests/fixture/element/svg/input.html:16:1]
|
||
16 | </head>
|
||
: ^
|
||
17 | <body id="body"
|
||
`----
|
||
|
||
x Text
|
||
,-[$DIR/tests/fixture/element/svg/input.html:16:1]
|
||
16 | </head>
|
||
: ^
|
||
17 | <body id="body"
|
||
`----
|
||
|
||
x Child
|
||
,-[$DIR/tests/fixture/element/svg/input.html:17:1]
|
||
17 | ,-> <body id="body"
|
||
18 | | style="position:absolute; z-index:0; border:1px solid black; left:5%; top:5%; width:90%; height:90%;">
|
||
19 | | <form>
|
||
20 | | <fieldset>
|
||
21 | | <legend>HTML Form</legend>
|
||
22 | | <p><label>Введите что-нибудь:</label>
|
||
23 | | <input type="text"/>
|
||
24 | | <span id="err">Incorrect value!</span></p>
|
||
25 | | <p><input type="button" value="Activate!" onclick="signalError();" /></p>
|
||
26 | | </fieldset>
|
||
27 | | </form>
|
||
28 | |
|
||
29 | | <svg xmlns="http://www.w3.org/2000/svg" version="1.1"
|
||
30 | | viewBox="0 0 100 100" preserveAspectRatio="xMidYMid slice"
|
||
31 | | style="width:100%; height:100%; position:absolute; top:0; left:0; z-index:-1;" baseProfile="test">
|
||
32 | | <linearGradient id="gradient">
|
||
33 | | <stop class="begin" offset="0%"/>
|
||
34 | | <stop class="end" offset="100%"/>
|
||
35 | | </linearGradient>
|
||
36 | | <rect x="0" y="0" width="100" height="100" style="fill:url(#gradient)" />
|
||
37 | | <circle cx="50" cy="50" r="30" style="fill:url(#gradient)" />
|
||
38 | | </svg>
|
||
39 | |
|
||
40 | | <svg viewBox="0 0 420 200" xmlns="http://www.w3.org/2000/svg">
|
||
41 | | <filter id="noise1" x="0" y="0" width="100%" height="100%">
|
||
42 | | <feTurbulence baseFrequency="0.025" />
|
||
43 | | </filter>
|
||
44 | | <filter id="noise2" x="0" y="0" width="100%" height="100%">
|
||
45 | | <feTurbulence baseFrequency="0.05" />
|
||
46 | | </filter>
|
||
47 | |
|
||
48 | | <rect x="0" y="0" width="200" height="200" style="filter: url(#noise1);" />
|
||
49 | | <rect x="0" y="0" width="200" height="200" style="filter: url(#noise2); transform: translateX(220px);" />
|
||
50 | | </svg>
|
||
51 | |
|
||
52 | | <svg viewBox="0 0 200 100" xmlns="http://www.w3.org/2000/svg">
|
||
53 | | <text xml:lang="en-US">This is some English text</text>
|
||
54 | | </svg>
|
||
55 | |
|
||
56 | | <svg version="1.1"
|
||
57 | | xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
|
||
58 | | width="200" height="200">
|
||
59 | | <image x="90" y="-65" width="128" height="146" transform="rotate(45)"
|
||
60 | | xlink:href="https://developer.mozilla.org/en-US/docs/Web/SVG/Element/image/mdn_logo_only_color.png"/>
|
||
61 | | </svg>
|
||
62 | |
|
||
63 | | <svg viewBox="0 0 140 50" xmlns="http://www.w3.org/2000/svg">
|
||
64 | | <text y="20" xml:space="default">Default spacing</text>
|
||
65 | | <text y="40" xml:space="preserve">Preserved spacing</text>
|
||
66 | | </svg>
|
||
67 | |
|
||
68 | | <svg viewBox="0 0 200 100" xmlns="http://www.w3.org/2000/svg">
|
||
69 | | <text xml:lang="en-US">This is some English text</text>
|
||
70 | | <a xlink:href= "http://example.com/link/" xlink:title="The link leads to an example page that is of little interest">
|
||
71 | | <text x="10" y="25" >An example link.</text>
|
||
72 | | </a>
|
||
73 | | </svg>
|
||
74 | |
|
||
75 | | <svg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg">
|
||
76 | | <style>
|
||
77 | | div {
|
||
78 | | color: white;
|
||
79 | | font: 18px serif;
|
||
80 | | height: 100%;
|
||
81 | | overflow: auto;
|
||
82 | | }
|
||
83 | | </style>
|
||
84 | |
|
||
85 | | <polygon points="5,5 195,10 185,185 10,195" />
|
||
86 | |
|
||
87 | | <!-- Common use case: embed HTML text into SVG -->
|
||
88 | | <foreignObject x="20" y="20" width="160" height="160">
|
||
89 | | <!--
|
||
90 | | In the context of SVG embedded in an HTML document, the XHTML
|
||
91 | | namespace could be omitted, but it is mandatory in the
|
||
92 | | context of an SVG document
|
||
93 | | -->
|
||
94 | | <div xmlns="http://www.w3.org/1999/xhtml">
|
||
95 | | Lorem ipsum dolor sit amet, consectetur adipiscing elit.
|
||
96 | | Sed mollis mollis mi ut ultricies. Nullam magna ipsum,
|
||
97 | | porta vel dui convallis, rutrum imperdiet eros. Aliquam
|
||
98 | | erat volutpat.
|
||
99 | | </div>
|
||
100 | | </foreignObject>
|
||
101 | | </svg>
|
||
102 | |
|
||
103 | | <svg style="font-size: 20px" width="400px" height="220px" viewBox="0 0 200 110">
|
||
104 | | <g transform="translate(10,80)">
|
||
105 | | <path d="M 0 0 L 150 0 A 75 75 0 0 0 0 0
|
||
106 | | M 30 0 L 30 -60 M 30 -10 L 40 -10 L 40 0"
|
||
107 | | fill="none" stroke="black"></path>
|
||
108 | | <text transform="translate(10,20)">1</text>
|
||
109 | | <switch transform="translate(35,-40)">
|
||
110 | | <foreignObject width="200" height="50"
|
||
111 | | requiredExtensions="http://www.w3.org/1998/Math/MathML">
|
||
112 | | <math>
|
||
113 | | <msqrt>
|
||
114 | | <mn>2</mn>
|
||
115 | | <mi>r</mi>
|
||
116 | | <mo>−</mo>
|
||
117 | | <mn>1</mn>
|
||
118 | | </msqrt>
|
||
119 | | </math>
|
||
120 | | </foreignObject>
|
||
121 | | <text>\sqrt{2r - 1}</text>
|
||
122 | | </switch>
|
||
123 | | </g>
|
||
124 | | </svg>
|
||
125 | |
|
||
126 | `-> </body>
|
||
127 | </html>
|
||
`----
|
||
|
||
x Element
|
||
,-[$DIR/tests/fixture/element/svg/input.html:17:1]
|
||
17 | ,-> <body id="body"
|
||
18 | | style="position:absolute; z-index:0; border:1px solid black; left:5%; top:5%; width:90%; height:90%;">
|
||
19 | | <form>
|
||
20 | | <fieldset>
|
||
21 | | <legend>HTML Form</legend>
|
||
22 | | <p><label>Введите что-нибудь:</label>
|
||
23 | | <input type="text"/>
|
||
24 | | <span id="err">Incorrect value!</span></p>
|
||
25 | | <p><input type="button" value="Activate!" onclick="signalError();" /></p>
|
||
26 | | </fieldset>
|
||
27 | | </form>
|
||
28 | |
|
||
29 | | <svg xmlns="http://www.w3.org/2000/svg" version="1.1"
|
||
30 | | viewBox="0 0 100 100" preserveAspectRatio="xMidYMid slice"
|
||
31 | | style="width:100%; height:100%; position:absolute; top:0; left:0; z-index:-1;" baseProfile="test">
|
||
32 | | <linearGradient id="gradient">
|
||
33 | | <stop class="begin" offset="0%"/>
|
||
34 | | <stop class="end" offset="100%"/>
|
||
35 | | </linearGradient>
|
||
36 | | <rect x="0" y="0" width="100" height="100" style="fill:url(#gradient)" />
|
||
37 | | <circle cx="50" cy="50" r="30" style="fill:url(#gradient)" />
|
||
38 | | </svg>
|
||
39 | |
|
||
40 | | <svg viewBox="0 0 420 200" xmlns="http://www.w3.org/2000/svg">
|
||
41 | | <filter id="noise1" x="0" y="0" width="100%" height="100%">
|
||
42 | | <feTurbulence baseFrequency="0.025" />
|
||
43 | | </filter>
|
||
44 | | <filter id="noise2" x="0" y="0" width="100%" height="100%">
|
||
45 | | <feTurbulence baseFrequency="0.05" />
|
||
46 | | </filter>
|
||
47 | |
|
||
48 | | <rect x="0" y="0" width="200" height="200" style="filter: url(#noise1);" />
|
||
49 | | <rect x="0" y="0" width="200" height="200" style="filter: url(#noise2); transform: translateX(220px);" />
|
||
50 | | </svg>
|
||
51 | |
|
||
52 | | <svg viewBox="0 0 200 100" xmlns="http://www.w3.org/2000/svg">
|
||
53 | | <text xml:lang="en-US">This is some English text</text>
|
||
54 | | </svg>
|
||
55 | |
|
||
56 | | <svg version="1.1"
|
||
57 | | xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
|
||
58 | | width="200" height="200">
|
||
59 | | <image x="90" y="-65" width="128" height="146" transform="rotate(45)"
|
||
60 | | xlink:href="https://developer.mozilla.org/en-US/docs/Web/SVG/Element/image/mdn_logo_only_color.png"/>
|
||
61 | | </svg>
|
||
62 | |
|
||
63 | | <svg viewBox="0 0 140 50" xmlns="http://www.w3.org/2000/svg">
|
||
64 | | <text y="20" xml:space="default">Default spacing</text>
|
||
65 | | <text y="40" xml:space="preserve">Preserved spacing</text>
|
||
66 | | </svg>
|
||
67 | |
|
||
68 | | <svg viewBox="0 0 200 100" xmlns="http://www.w3.org/2000/svg">
|
||
69 | | <text xml:lang="en-US">This is some English text</text>
|
||
70 | | <a xlink:href= "http://example.com/link/" xlink:title="The link leads to an example page that is of little interest">
|
||
71 | | <text x="10" y="25" >An example link.</text>
|
||
72 | | </a>
|
||
73 | | </svg>
|
||
74 | |
|
||
75 | | <svg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg">
|
||
76 | | <style>
|
||
77 | | div {
|
||
78 | | color: white;
|
||
79 | | font: 18px serif;
|
||
80 | | height: 100%;
|
||
81 | | overflow: auto;
|
||
82 | | }
|
||
83 | | </style>
|
||
84 | |
|
||
85 | | <polygon points="5,5 195,10 185,185 10,195" />
|
||
86 | |
|
||
87 | | <!-- Common use case: embed HTML text into SVG -->
|
||
88 | | <foreignObject x="20" y="20" width="160" height="160">
|
||
89 | | <!--
|
||
90 | | In the context of SVG embedded in an HTML document, the XHTML
|
||
91 | | namespace could be omitted, but it is mandatory in the
|
||
92 | | context of an SVG document
|
||
93 | | -->
|
||
94 | | <div xmlns="http://www.w3.org/1999/xhtml">
|
||
95 | | Lorem ipsum dolor sit amet, consectetur adipiscing elit.
|
||
96 | | Sed mollis mollis mi ut ultricies. Nullam magna ipsum,
|
||
97 | | porta vel dui convallis, rutrum imperdiet eros. Aliquam
|
||
98 | | erat volutpat.
|
||
99 | | </div>
|
||
100 | | </foreignObject>
|
||
101 | | </svg>
|
||
102 | |
|
||
103 | | <svg style="font-size: 20px" width="400px" height="220px" viewBox="0 0 200 110">
|
||
104 | | <g transform="translate(10,80)">
|
||
105 | | <path d="M 0 0 L 150 0 A 75 75 0 0 0 0 0
|
||
106 | | M 30 0 L 30 -60 M 30 -10 L 40 -10 L 40 0"
|
||
107 | | fill="none" stroke="black"></path>
|
||
108 | | <text transform="translate(10,20)">1</text>
|
||
109 | | <switch transform="translate(35,-40)">
|
||
110 | | <foreignObject width="200" height="50"
|
||
111 | | requiredExtensions="http://www.w3.org/1998/Math/MathML">
|
||
112 | | <math>
|
||
113 | | <msqrt>
|
||
114 | | <mn>2</mn>
|
||
115 | | <mi>r</mi>
|
||
116 | | <mo>−</mo>
|
||
117 | | <mn>1</mn>
|
||
118 | | </msqrt>
|
||
119 | | </math>
|
||
120 | | </foreignObject>
|
||
121 | | <text>\sqrt{2r - 1}</text>
|
||
122 | | </switch>
|
||
123 | | </g>
|
||
124 | | </svg>
|
||
125 | |
|
||
126 | `-> </body>
|
||
127 | </html>
|
||
`----
|
||
|
||
x Child
|
||
,-[$DIR/tests/fixture/element/svg/input.html:18:7]
|
||
18 | style="position:absolute; z-index:0; border:1px solid black; left:5%; top:5%; width:90%; height:90%;">
|
||
: ^
|
||
19 | <form>
|
||
`----
|
||
|
||
x Text
|
||
,-[$DIR/tests/fixture/element/svg/input.html:18:7]
|
||
18 | style="position:absolute; z-index:0; border:1px solid black; left:5%; top:5%; width:90%; height:90%;">
|
||
: ^
|
||
19 | <form>
|
||
`----
|
||
|
||
x Child
|
||
,-[$DIR/tests/fixture/element/svg/input.html:19:1]
|
||
19 | ,-> <form>
|
||
20 | | <fieldset>
|
||
21 | | <legend>HTML Form</legend>
|
||
22 | | <p><label>Введите что-нибудь:</label>
|
||
23 | | <input type="text"/>
|
||
24 | | <span id="err">Incorrect value!</span></p>
|
||
25 | | <p><input type="button" value="Activate!" onclick="signalError();" /></p>
|
||
26 | `-> </fieldset>
|
||
27 | </form>
|
||
`----
|
||
|
||
x Element
|
||
,-[$DIR/tests/fixture/element/svg/input.html:19:1]
|
||
19 | ,-> <form>
|
||
20 | | <fieldset>
|
||
21 | | <legend>HTML Form</legend>
|
||
22 | | <p><label>Введите что-нибудь:</label>
|
||
23 | | <input type="text"/>
|
||
24 | | <span id="err">Incorrect value!</span></p>
|
||
25 | | <p><input type="button" value="Activate!" onclick="signalError();" /></p>
|
||
26 | `-> </fieldset>
|
||
27 | </form>
|
||
`----
|
||
|
||
x Child
|
||
,-[$DIR/tests/fixture/element/svg/input.html:19:1]
|
||
19 | ,-> <form>
|
||
20 | `-> <fieldset>
|
||
`----
|
||
|
||
x Text
|
||
,-[$DIR/tests/fixture/element/svg/input.html:19:1]
|
||
19 | ,-> <form>
|
||
20 | `-> <fieldset>
|
||
`----
|
||
|
||
x Child
|
||
,-[$DIR/tests/fixture/element/svg/input.html:20:5]
|
||
20 | ,-> <fieldset>
|
||
21 | | <legend>HTML Form</legend>
|
||
22 | | <p><label>Введите что-нибудь:</label>
|
||
23 | | <input type="text"/>
|
||
24 | | <span id="err">Incorrect value!</span></p>
|
||
25 | | <p><input type="button" value="Activate!" onclick="signalError();" /></p>
|
||
26 | `-> </fieldset>
|
||
`----
|
||
|
||
x Element
|
||
,-[$DIR/tests/fixture/element/svg/input.html:20:5]
|
||
20 | ,-> <fieldset>
|
||
21 | | <legend>HTML Form</legend>
|
||
22 | | <p><label>Введите что-нибудь:</label>
|
||
23 | | <input type="text"/>
|
||
24 | | <span id="err">Incorrect value!</span></p>
|
||
25 | | <p><input type="button" value="Activate!" onclick="signalError();" /></p>
|
||
26 | `-> </fieldset>
|
||
`----
|
||
|
||
x Child
|
||
,-[$DIR/tests/fixture/element/svg/input.html:20:5]
|
||
20 | ,-> <fieldset>
|
||
21 | `-> <legend>HTML Form</legend>
|
||
`----
|
||
|
||
x Text
|
||
,-[$DIR/tests/fixture/element/svg/input.html:20:5]
|
||
20 | ,-> <fieldset>
|
||
21 | `-> <legend>HTML Form</legend>
|
||
`----
|
||
|
||
x Child
|
||
,-[$DIR/tests/fixture/element/svg/input.html:21:9]
|
||
21 | <legend>HTML Form</legend>
|
||
: ^^^^^^^^^^^^^^^^^
|
||
`----
|
||
|
||
x Element
|
||
,-[$DIR/tests/fixture/element/svg/input.html:21:9]
|
||
21 | <legend>HTML Form</legend>
|
||
: ^^^^^^^^^^^^^^^^^
|
||
`----
|
||
|
||
x Child
|
||
,-[$DIR/tests/fixture/element/svg/input.html:21:9]
|
||
21 | <legend>HTML Form</legend>
|
||
: ^^^^^^^^^
|
||
`----
|
||
|
||
x Text
|
||
,-[$DIR/tests/fixture/element/svg/input.html:21:9]
|
||
21 | <legend>HTML Form</legend>
|
||
: ^^^^^^^^^
|
||
`----
|
||
|
||
x Child
|
||
,-[$DIR/tests/fixture/element/svg/input.html:21:9]
|
||
21 | ,-> <legend>HTML Form</legend>
|
||
22 | `-> <p><label>Введите что-нибудь:</label>
|
||
`----
|
||
|
||
x Text
|
||
,-[$DIR/tests/fixture/element/svg/input.html:21:9]
|
||
21 | ,-> <legend>HTML Form</legend>
|
||
22 | `-> <p><label>Введите что-нибудь:</label>
|
||
`----
|
||
|
||
x Child
|
||
,-[$DIR/tests/fixture/element/svg/input.html:22:9]
|
||
22 | ,-> <p><label>Введите что-нибудь:</label>
|
||
23 | | <input type="text"/>
|
||
24 | `-> <span id="err">Incorrect value!</span></p>
|
||
`----
|
||
|
||
x Element
|
||
,-[$DIR/tests/fixture/element/svg/input.html:22:9]
|
||
22 | ,-> <p><label>Введите что-нибудь:</label>
|
||
23 | | <input type="text"/>
|
||
24 | `-> <span id="err">Incorrect value!</span></p>
|
||
`----
|
||
|
||
x Child
|
||
,-[$DIR/tests/fixture/element/svg/input.html:22:9]
|
||
22 | <p><label>Введите что-нибудь:</label>
|
||
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
`----
|
||
|
||
x Element
|
||
,-[$DIR/tests/fixture/element/svg/input.html:22:9]
|
||
22 | <p><label>Введите что-нибудь:</label>
|
||
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
`----
|
||
|
||
x Child
|
||
,-[$DIR/tests/fixture/element/svg/input.html:22:9]
|
||
22 | <p><label>Введите что-нибудь:</label>
|
||
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
`----
|
||
|
||
x Text
|
||
,-[$DIR/tests/fixture/element/svg/input.html:22:9]
|
||
22 | <p><label>Введите что-нибудь:</label>
|
||
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
`----
|
||
|
||
x Child
|
||
,-[$DIR/tests/fixture/element/svg/input.html:22:9]
|
||
22 | ,-> <p><label>Введите что-нибудь:</label>
|
||
23 | `-> <input type="text"/>
|
||
`----
|
||
|
||
x Text
|
||
,-[$DIR/tests/fixture/element/svg/input.html:22:9]
|
||
22 | ,-> <p><label>Введите что-нибудь:</label>
|
||
23 | `-> <input type="text"/>
|
||
`----
|
||
|
||
x Child
|
||
,-[$DIR/tests/fixture/element/svg/input.html:23:13]
|
||
23 | <input type="text"/>
|
||
: ^^^^^^^^^^^^^^^^^^^^
|
||
`----
|
||
|
||
x Element
|
||
,-[$DIR/tests/fixture/element/svg/input.html:23:13]
|
||
23 | <input type="text"/>
|
||
: ^^^^^^^^^^^^^^^^^^^^
|
||
`----
|
||
|
||
x Child
|
||
,-[$DIR/tests/fixture/element/svg/input.html:23:13]
|
||
23 | ,-> <input type="text"/>
|
||
24 | `-> <span id="err">Incorrect value!</span></p>
|
||
`----
|
||
|
||
x Text
|
||
,-[$DIR/tests/fixture/element/svg/input.html:23:13]
|
||
23 | ,-> <input type="text"/>
|
||
24 | `-> <span id="err">Incorrect value!</span></p>
|
||
`----
|
||
|
||
x Child
|
||
,-[$DIR/tests/fixture/element/svg/input.html:24:13]
|
||
24 | <span id="err">Incorrect value!</span></p>
|
||
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
`----
|
||
|
||
x Element
|
||
,-[$DIR/tests/fixture/element/svg/input.html:24:13]
|
||
24 | <span id="err">Incorrect value!</span></p>
|
||
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
`----
|
||
|
||
x Child
|
||
,-[$DIR/tests/fixture/element/svg/input.html:24:13]
|
||
24 | <span id="err">Incorrect value!</span></p>
|
||
: ^^^^^^^^^^^^^^^^
|
||
`----
|
||
|
||
x Text
|
||
,-[$DIR/tests/fixture/element/svg/input.html:24:13]
|
||
24 | <span id="err">Incorrect value!</span></p>
|
||
: ^^^^^^^^^^^^^^^^
|
||
`----
|
||
|
||
x Child
|
||
,-[$DIR/tests/fixture/element/svg/input.html:24:13]
|
||
24 | ,-> <span id="err">Incorrect value!</span></p>
|
||
25 | `-> <p><input type="button" value="Activate!" onclick="signalError();" /></p>
|
||
`----
|
||
|
||
x Text
|
||
,-[$DIR/tests/fixture/element/svg/input.html:24:13]
|
||
24 | ,-> <span id="err">Incorrect value!</span></p>
|
||
25 | `-> <p><input type="button" value="Activate!" onclick="signalError();" /></p>
|
||
`----
|
||
|
||
x Child
|
||
,-[$DIR/tests/fixture/element/svg/input.html:25:9]
|
||
25 | <p><input type="button" value="Activate!" onclick="signalError();" /></p>
|
||
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
`----
|
||
|
||
x Element
|
||
,-[$DIR/tests/fixture/element/svg/input.html:25:9]
|
||
25 | <p><input type="button" value="Activate!" onclick="signalError();" /></p>
|
||
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
`----
|
||
|
||
x Child
|
||
,-[$DIR/tests/fixture/element/svg/input.html:25:9]
|
||
25 | <p><input type="button" value="Activate!" onclick="signalError();" /></p>
|
||
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
`----
|
||
|
||
x Element
|
||
,-[$DIR/tests/fixture/element/svg/input.html:25:9]
|
||
25 | <p><input type="button" value="Activate!" onclick="signalError();" /></p>
|
||
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
`----
|
||
|
||
x Child
|
||
,-[$DIR/tests/fixture/element/svg/input.html:25:9]
|
||
25 | ,-> <p><input type="button" value="Activate!" onclick="signalError();" /></p>
|
||
26 | `-> </fieldset>
|
||
`----
|
||
|
||
x Text
|
||
,-[$DIR/tests/fixture/element/svg/input.html:25:9]
|
||
25 | ,-> <p><input type="button" value="Activate!" onclick="signalError();" /></p>
|
||
26 | `-> </fieldset>
|
||
`----
|
||
|
||
x Child
|
||
,-[$DIR/tests/fixture/element/svg/input.html:26:5]
|
||
26 | </fieldset>
|
||
: ^
|
||
27 | </form>
|
||
`----
|
||
|
||
x Text
|
||
,-[$DIR/tests/fixture/element/svg/input.html:26:5]
|
||
26 | </fieldset>
|
||
: ^
|
||
27 | </form>
|
||
`----
|
||
|
||
x Child
|
||
,-[$DIR/tests/fixture/element/svg/input.html:27:1]
|
||
27 | ,-> </form>
|
||
28 | `->
|
||
29 | <svg xmlns="http://www.w3.org/2000/svg" version="1.1"
|
||
`----
|
||
|
||
x Text
|
||
,-[$DIR/tests/fixture/element/svg/input.html:27:1]
|
||
27 | ,-> </form>
|
||
28 | `->
|
||
29 | <svg xmlns="http://www.w3.org/2000/svg" version="1.1"
|
||
`----
|
||
|
||
x Child
|
||
,-[$DIR/tests/fixture/element/svg/input.html:29:1]
|
||
29 | ,-> <svg xmlns="http://www.w3.org/2000/svg" version="1.1"
|
||
30 | | viewBox="0 0 100 100" preserveAspectRatio="xMidYMid slice"
|
||
31 | | style="width:100%; height:100%; position:absolute; top:0; left:0; z-index:-1;" baseProfile="test">
|
||
32 | | <linearGradient id="gradient">
|
||
33 | | <stop class="begin" offset="0%"/>
|
||
34 | | <stop class="end" offset="100%"/>
|
||
35 | | </linearGradient>
|
||
36 | | <rect x="0" y="0" width="100" height="100" style="fill:url(#gradient)" />
|
||
37 | `-> <circle cx="50" cy="50" r="30" style="fill:url(#gradient)" />
|
||
38 | </svg>
|
||
`----
|
||
|
||
x Element
|
||
,-[$DIR/tests/fixture/element/svg/input.html:29:1]
|
||
29 | ,-> <svg xmlns="http://www.w3.org/2000/svg" version="1.1"
|
||
30 | | viewBox="0 0 100 100" preserveAspectRatio="xMidYMid slice"
|
||
31 | | style="width:100%; height:100%; position:absolute; top:0; left:0; z-index:-1;" baseProfile="test">
|
||
32 | | <linearGradient id="gradient">
|
||
33 | | <stop class="begin" offset="0%"/>
|
||
34 | | <stop class="end" offset="100%"/>
|
||
35 | | </linearGradient>
|
||
36 | | <rect x="0" y="0" width="100" height="100" style="fill:url(#gradient)" />
|
||
37 | `-> <circle cx="50" cy="50" r="30" style="fill:url(#gradient)" />
|
||
38 | </svg>
|
||
`----
|
||
|
||
x Child
|
||
,-[$DIR/tests/fixture/element/svg/input.html:31:6]
|
||
31 | ,-> style="width:100%; height:100%; position:absolute; top:0; left:0; z-index:-1;" baseProfile="test">
|
||
32 | `-> <linearGradient id="gradient">
|
||
`----
|
||
|
||
x Text
|
||
,-[$DIR/tests/fixture/element/svg/input.html:31:6]
|
||
31 | ,-> style="width:100%; height:100%; position:absolute; top:0; left:0; z-index:-1;" baseProfile="test">
|
||
32 | `-> <linearGradient id="gradient">
|
||
`----
|
||
|
||
x Child
|
||
,-[$DIR/tests/fixture/element/svg/input.html:32:5]
|
||
32 | ,-> <linearGradient id="gradient">
|
||
33 | | <stop class="begin" offset="0%"/>
|
||
34 | | <stop class="end" offset="100%"/>
|
||
35 | `-> </linearGradient>
|
||
`----
|
||
|
||
x Element
|
||
,-[$DIR/tests/fixture/element/svg/input.html:32:5]
|
||
32 | ,-> <linearGradient id="gradient">
|
||
33 | | <stop class="begin" offset="0%"/>
|
||
34 | | <stop class="end" offset="100%"/>
|
||
35 | `-> </linearGradient>
|
||
`----
|
||
|
||
x Child
|
||
,-[$DIR/tests/fixture/element/svg/input.html:32:5]
|
||
32 | ,-> <linearGradient id="gradient">
|
||
33 | `-> <stop class="begin" offset="0%"/>
|
||
`----
|
||
|
||
x Text
|
||
,-[$DIR/tests/fixture/element/svg/input.html:32:5]
|
||
32 | ,-> <linearGradient id="gradient">
|
||
33 | `-> <stop class="begin" offset="0%"/>
|
||
`----
|
||
|
||
x Child
|
||
,-[$DIR/tests/fixture/element/svg/input.html:33:9]
|
||
33 | <stop class="begin" offset="0%"/>
|
||
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
`----
|
||
|
||
x Element
|
||
,-[$DIR/tests/fixture/element/svg/input.html:33:9]
|
||
33 | <stop class="begin" offset="0%"/>
|
||
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
`----
|
||
|
||
x Child
|
||
,-[$DIR/tests/fixture/element/svg/input.html:33:9]
|
||
33 | ,-> <stop class="begin" offset="0%"/>
|
||
34 | `-> <stop class="end" offset="100%"/>
|
||
`----
|
||
|
||
x Text
|
||
,-[$DIR/tests/fixture/element/svg/input.html:33:9]
|
||
33 | ,-> <stop class="begin" offset="0%"/>
|
||
34 | `-> <stop class="end" offset="100%"/>
|
||
`----
|
||
|
||
x Child
|
||
,-[$DIR/tests/fixture/element/svg/input.html:34:9]
|
||
34 | <stop class="end" offset="100%"/>
|
||
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
`----
|
||
|
||
x Element
|
||
,-[$DIR/tests/fixture/element/svg/input.html:34:9]
|
||
34 | <stop class="end" offset="100%"/>
|
||
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
`----
|
||
|
||
x Child
|
||
,-[$DIR/tests/fixture/element/svg/input.html:34:9]
|
||
34 | ,-> <stop class="end" offset="100%"/>
|
||
35 | `-> </linearGradient>
|
||
`----
|
||
|
||
x Text
|
||
,-[$DIR/tests/fixture/element/svg/input.html:34:9]
|
||
34 | ,-> <stop class="end" offset="100%"/>
|
||
35 | `-> </linearGradient>
|
||
`----
|
||
|
||
x Child
|
||
,-[$DIR/tests/fixture/element/svg/input.html:35:5]
|
||
35 | ,-> </linearGradient>
|
||
36 | `-> <rect x="0" y="0" width="100" height="100" style="fill:url(#gradient)" />
|
||
`----
|
||
|
||
x Text
|
||
,-[$DIR/tests/fixture/element/svg/input.html:35:5]
|
||
35 | ,-> </linearGradient>
|
||
36 | `-> <rect x="0" y="0" width="100" height="100" style="fill:url(#gradient)" />
|
||
`----
|
||
|
||
x Child
|
||
,-[$DIR/tests/fixture/element/svg/input.html:36:5]
|
||
36 | <rect x="0" y="0" width="100" height="100" style="fill:url(#gradient)" />
|
||
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
`----
|
||
|
||
x Element
|
||
,-[$DIR/tests/fixture/element/svg/input.html:36:5]
|
||
36 | <rect x="0" y="0" width="100" height="100" style="fill:url(#gradient)" />
|
||
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
`----
|
||
|
||
x Child
|
||
,-[$DIR/tests/fixture/element/svg/input.html:36:5]
|
||
36 | ,-> <rect x="0" y="0" width="100" height="100" style="fill:url(#gradient)" />
|
||
37 | `-> <circle cx="50" cy="50" r="30" style="fill:url(#gradient)" />
|
||
`----
|
||
|
||
x Text
|
||
,-[$DIR/tests/fixture/element/svg/input.html:36:5]
|
||
36 | ,-> <rect x="0" y="0" width="100" height="100" style="fill:url(#gradient)" />
|
||
37 | `-> <circle cx="50" cy="50" r="30" style="fill:url(#gradient)" />
|
||
`----
|
||
|
||
x Child
|
||
,-[$DIR/tests/fixture/element/svg/input.html:37:5]
|
||
37 | <circle cx="50" cy="50" r="30" style="fill:url(#gradient)" />
|
||
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
`----
|
||
|
||
x Element
|
||
,-[$DIR/tests/fixture/element/svg/input.html:37:5]
|
||
37 | <circle cx="50" cy="50" r="30" style="fill:url(#gradient)" />
|
||
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
`----
|
||
|
||
x Child
|
||
,-[$DIR/tests/fixture/element/svg/input.html:37:5]
|
||
37 | <circle cx="50" cy="50" r="30" style="fill:url(#gradient)" />
|
||
: ^
|
||
38 | </svg>
|
||
`----
|
||
|
||
x Text
|
||
,-[$DIR/tests/fixture/element/svg/input.html:37:5]
|
||
37 | <circle cx="50" cy="50" r="30" style="fill:url(#gradient)" />
|
||
: ^
|
||
38 | </svg>
|
||
`----
|
||
|
||
x Child
|
||
,-[$DIR/tests/fixture/element/svg/input.html:38:1]
|
||
38 | ,-> </svg>
|
||
39 | `->
|
||
40 | <svg viewBox="0 0 420 200" xmlns="http://www.w3.org/2000/svg">
|
||
`----
|
||
|
||
x Text
|
||
,-[$DIR/tests/fixture/element/svg/input.html:38:1]
|
||
38 | ,-> </svg>
|
||
39 | `->
|
||
40 | <svg viewBox="0 0 420 200" xmlns="http://www.w3.org/2000/svg">
|
||
`----
|
||
|
||
x Child
|
||
,-[$DIR/tests/fixture/element/svg/input.html:40:1]
|
||
40 | ,-> <svg viewBox="0 0 420 200" xmlns="http://www.w3.org/2000/svg">
|
||
41 | | <filter id="noise1" x="0" y="0" width="100%" height="100%">
|
||
42 | | <feTurbulence baseFrequency="0.025" />
|
||
43 | | </filter>
|
||
44 | | <filter id="noise2" x="0" y="0" width="100%" height="100%">
|
||
45 | | <feTurbulence baseFrequency="0.05" />
|
||
46 | | </filter>
|
||
47 | |
|
||
48 | | <rect x="0" y="0" width="200" height="200" style="filter: url(#noise1);" />
|
||
49 | `-> <rect x="0" y="0" width="200" height="200" style="filter: url(#noise2); transform: translateX(220px);" />
|
||
50 | </svg>
|
||
`----
|
||
|
||
x Element
|
||
,-[$DIR/tests/fixture/element/svg/input.html:40:1]
|
||
40 | ,-> <svg viewBox="0 0 420 200" xmlns="http://www.w3.org/2000/svg">
|
||
41 | | <filter id="noise1" x="0" y="0" width="100%" height="100%">
|
||
42 | | <feTurbulence baseFrequency="0.025" />
|
||
43 | | </filter>
|
||
44 | | <filter id="noise2" x="0" y="0" width="100%" height="100%">
|
||
45 | | <feTurbulence baseFrequency="0.05" />
|
||
46 | | </filter>
|
||
47 | |
|
||
48 | | <rect x="0" y="0" width="200" height="200" style="filter: url(#noise1);" />
|
||
49 | `-> <rect x="0" y="0" width="200" height="200" style="filter: url(#noise2); transform: translateX(220px);" />
|
||
50 | </svg>
|
||
`----
|
||
|
||
x Child
|
||
,-[$DIR/tests/fixture/element/svg/input.html:40:1]
|
||
40 | ,-> <svg viewBox="0 0 420 200" xmlns="http://www.w3.org/2000/svg">
|
||
41 | `-> <filter id="noise1" x="0" y="0" width="100%" height="100%">
|
||
`----
|
||
|
||
x Text
|
||
,-[$DIR/tests/fixture/element/svg/input.html:40:1]
|
||
40 | ,-> <svg viewBox="0 0 420 200" xmlns="http://www.w3.org/2000/svg">
|
||
41 | `-> <filter id="noise1" x="0" y="0" width="100%" height="100%">
|
||
`----
|
||
|
||
x Child
|
||
,-[$DIR/tests/fixture/element/svg/input.html:41:5]
|
||
41 | ,-> <filter id="noise1" x="0" y="0" width="100%" height="100%">
|
||
42 | | <feTurbulence baseFrequency="0.025" />
|
||
43 | `-> </filter>
|
||
`----
|
||
|
||
x Element
|
||
,-[$DIR/tests/fixture/element/svg/input.html:41:5]
|
||
41 | ,-> <filter id="noise1" x="0" y="0" width="100%" height="100%">
|
||
42 | | <feTurbulence baseFrequency="0.025" />
|
||
43 | `-> </filter>
|
||
`----
|
||
|
||
x Child
|
||
,-[$DIR/tests/fixture/element/svg/input.html:41:5]
|
||
41 | ,-> <filter id="noise1" x="0" y="0" width="100%" height="100%">
|
||
42 | `-> <feTurbulence baseFrequency="0.025" />
|
||
`----
|
||
|
||
x Text
|
||
,-[$DIR/tests/fixture/element/svg/input.html:41:5]
|
||
41 | ,-> <filter id="noise1" x="0" y="0" width="100%" height="100%">
|
||
42 | `-> <feTurbulence baseFrequency="0.025" />
|
||
`----
|
||
|
||
x Child
|
||
,-[$DIR/tests/fixture/element/svg/input.html:42:9]
|
||
42 | <feTurbulence baseFrequency="0.025" />
|
||
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
`----
|
||
|
||
x Element
|
||
,-[$DIR/tests/fixture/element/svg/input.html:42:9]
|
||
42 | <feTurbulence baseFrequency="0.025" />
|
||
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
`----
|
||
|
||
x Child
|
||
,-[$DIR/tests/fixture/element/svg/input.html:42:9]
|
||
42 | ,-> <feTurbulence baseFrequency="0.025" />
|
||
43 | `-> </filter>
|
||
`----
|
||
|
||
x Text
|
||
,-[$DIR/tests/fixture/element/svg/input.html:42:9]
|
||
42 | ,-> <feTurbulence baseFrequency="0.025" />
|
||
43 | `-> </filter>
|
||
`----
|
||
|
||
x Child
|
||
,-[$DIR/tests/fixture/element/svg/input.html:43:5]
|
||
43 | ,-> </filter>
|
||
44 | `-> <filter id="noise2" x="0" y="0" width="100%" height="100%">
|
||
`----
|
||
|
||
x Text
|
||
,-[$DIR/tests/fixture/element/svg/input.html:43:5]
|
||
43 | ,-> </filter>
|
||
44 | `-> <filter id="noise2" x="0" y="0" width="100%" height="100%">
|
||
`----
|
||
|
||
x Child
|
||
,-[$DIR/tests/fixture/element/svg/input.html:44:5]
|
||
44 | ,-> <filter id="noise2" x="0" y="0" width="100%" height="100%">
|
||
45 | | <feTurbulence baseFrequency="0.05" />
|
||
46 | `-> </filter>
|
||
`----
|
||
|
||
x Element
|
||
,-[$DIR/tests/fixture/element/svg/input.html:44:5]
|
||
44 | ,-> <filter id="noise2" x="0" y="0" width="100%" height="100%">
|
||
45 | | <feTurbulence baseFrequency="0.05" />
|
||
46 | `-> </filter>
|
||
`----
|
||
|
||
x Child
|
||
,-[$DIR/tests/fixture/element/svg/input.html:44:5]
|
||
44 | ,-> <filter id="noise2" x="0" y="0" width="100%" height="100%">
|
||
45 | `-> <feTurbulence baseFrequency="0.05" />
|
||
`----
|
||
|
||
x Text
|
||
,-[$DIR/tests/fixture/element/svg/input.html:44:5]
|
||
44 | ,-> <filter id="noise2" x="0" y="0" width="100%" height="100%">
|
||
45 | `-> <feTurbulence baseFrequency="0.05" />
|
||
`----
|
||
|
||
x Child
|
||
,-[$DIR/tests/fixture/element/svg/input.html:45:9]
|
||
45 | <feTurbulence baseFrequency="0.05" />
|
||
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
`----
|
||
|
||
x Element
|
||
,-[$DIR/tests/fixture/element/svg/input.html:45:9]
|
||
45 | <feTurbulence baseFrequency="0.05" />
|
||
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
`----
|
||
|
||
x Child
|
||
,-[$DIR/tests/fixture/element/svg/input.html:45:9]
|
||
45 | ,-> <feTurbulence baseFrequency="0.05" />
|
||
46 | `-> </filter>
|
||
`----
|
||
|
||
x Text
|
||
,-[$DIR/tests/fixture/element/svg/input.html:45:9]
|
||
45 | ,-> <feTurbulence baseFrequency="0.05" />
|
||
46 | `-> </filter>
|
||
`----
|
||
|
||
x Child
|
||
,-[$DIR/tests/fixture/element/svg/input.html:46:5]
|
||
46 | ,-> </filter>
|
||
47 | |
|
||
48 | `-> <rect x="0" y="0" width="200" height="200" style="filter: url(#noise1);" />
|
||
`----
|
||
|
||
x Text
|
||
,-[$DIR/tests/fixture/element/svg/input.html:46:5]
|
||
46 | ,-> </filter>
|
||
47 | |
|
||
48 | `-> <rect x="0" y="0" width="200" height="200" style="filter: url(#noise1);" />
|
||
`----
|
||
|
||
x Child
|
||
,-[$DIR/tests/fixture/element/svg/input.html:48:5]
|
||
48 | <rect x="0" y="0" width="200" height="200" style="filter: url(#noise1);" />
|
||
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
`----
|
||
|
||
x Element
|
||
,-[$DIR/tests/fixture/element/svg/input.html:48:5]
|
||
48 | <rect x="0" y="0" width="200" height="200" style="filter: url(#noise1);" />
|
||
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
`----
|
||
|
||
x Child
|
||
,-[$DIR/tests/fixture/element/svg/input.html:48:5]
|
||
48 | ,-> <rect x="0" y="0" width="200" height="200" style="filter: url(#noise1);" />
|
||
49 | `-> <rect x="0" y="0" width="200" height="200" style="filter: url(#noise2); transform: translateX(220px);" />
|
||
`----
|
||
|
||
x Text
|
||
,-[$DIR/tests/fixture/element/svg/input.html:48:5]
|
||
48 | ,-> <rect x="0" y="0" width="200" height="200" style="filter: url(#noise1);" />
|
||
49 | `-> <rect x="0" y="0" width="200" height="200" style="filter: url(#noise2); transform: translateX(220px);" />
|
||
`----
|
||
|
||
x Child
|
||
,-[$DIR/tests/fixture/element/svg/input.html:49:5]
|
||
49 | <rect x="0" y="0" width="200" height="200" style="filter: url(#noise2); transform: translateX(220px);" />
|
||
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
`----
|
||
|
||
x Element
|
||
,-[$DIR/tests/fixture/element/svg/input.html:49:5]
|
||
49 | <rect x="0" y="0" width="200" height="200" style="filter: url(#noise2); transform: translateX(220px);" />
|
||
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
`----
|
||
|
||
x Child
|
||
,-[$DIR/tests/fixture/element/svg/input.html:49:5]
|
||
49 | <rect x="0" y="0" width="200" height="200" style="filter: url(#noise2); transform: translateX(220px);" />
|
||
: ^
|
||
50 | </svg>
|
||
`----
|
||
|
||
x Text
|
||
,-[$DIR/tests/fixture/element/svg/input.html:49:5]
|
||
49 | <rect x="0" y="0" width="200" height="200" style="filter: url(#noise2); transform: translateX(220px);" />
|
||
: ^
|
||
50 | </svg>
|
||
`----
|
||
|
||
x Child
|
||
,-[$DIR/tests/fixture/element/svg/input.html:50:1]
|
||
50 | ,-> </svg>
|
||
51 | `->
|
||
52 | <svg viewBox="0 0 200 100" xmlns="http://www.w3.org/2000/svg">
|
||
`----
|
||
|
||
x Text
|
||
,-[$DIR/tests/fixture/element/svg/input.html:50:1]
|
||
50 | ,-> </svg>
|
||
51 | `->
|
||
52 | <svg viewBox="0 0 200 100" xmlns="http://www.w3.org/2000/svg">
|
||
`----
|
||
|
||
x Child
|
||
,-[$DIR/tests/fixture/element/svg/input.html:52:1]
|
||
52 | ,-> <svg viewBox="0 0 200 100" xmlns="http://www.w3.org/2000/svg">
|
||
53 | `-> <text xml:lang="en-US">This is some English text</text>
|
||
54 | </svg>
|
||
`----
|
||
|
||
x Element
|
||
,-[$DIR/tests/fixture/element/svg/input.html:52:1]
|
||
52 | ,-> <svg viewBox="0 0 200 100" xmlns="http://www.w3.org/2000/svg">
|
||
53 | `-> <text xml:lang="en-US">This is some English text</text>
|
||
54 | </svg>
|
||
`----
|
||
|
||
x Child
|
||
,-[$DIR/tests/fixture/element/svg/input.html:52:1]
|
||
52 | ,-> <svg viewBox="0 0 200 100" xmlns="http://www.w3.org/2000/svg">
|
||
53 | `-> <text xml:lang="en-US">This is some English text</text>
|
||
`----
|
||
|
||
x Text
|
||
,-[$DIR/tests/fixture/element/svg/input.html:52:1]
|
||
52 | ,-> <svg viewBox="0 0 200 100" xmlns="http://www.w3.org/2000/svg">
|
||
53 | `-> <text xml:lang="en-US">This is some English text</text>
|
||
`----
|
||
|
||
x Child
|
||
,-[$DIR/tests/fixture/element/svg/input.html:53:5]
|
||
53 | <text xml:lang="en-US">This is some English text</text>
|
||
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
`----
|
||
|
||
x Element
|
||
,-[$DIR/tests/fixture/element/svg/input.html:53:5]
|
||
53 | <text xml:lang="en-US">This is some English text</text>
|
||
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
`----
|
||
|
||
x Child
|
||
,-[$DIR/tests/fixture/element/svg/input.html:53:5]
|
||
53 | <text xml:lang="en-US">This is some English text</text>
|
||
: ^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
`----
|
||
|
||
x Text
|
||
,-[$DIR/tests/fixture/element/svg/input.html:53:5]
|
||
53 | <text xml:lang="en-US">This is some English text</text>
|
||
: ^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
`----
|
||
|
||
x Child
|
||
,-[$DIR/tests/fixture/element/svg/input.html:53:5]
|
||
53 | <text xml:lang="en-US">This is some English text</text>
|
||
: ^
|
||
54 | </svg>
|
||
`----
|
||
|
||
x Text
|
||
,-[$DIR/tests/fixture/element/svg/input.html:53:5]
|
||
53 | <text xml:lang="en-US">This is some English text</text>
|
||
: ^
|
||
54 | </svg>
|
||
`----
|
||
|
||
x Child
|
||
,-[$DIR/tests/fixture/element/svg/input.html:54:1]
|
||
54 | ,-> </svg>
|
||
55 | `->
|
||
56 | <svg version="1.1"
|
||
`----
|
||
|
||
x Text
|
||
,-[$DIR/tests/fixture/element/svg/input.html:54:1]
|
||
54 | ,-> </svg>
|
||
55 | `->
|
||
56 | <svg version="1.1"
|
||
`----
|
||
|
||
x Child
|
||
,-[$DIR/tests/fixture/element/svg/input.html:56:1]
|
||
56 | ,-> <svg version="1.1"
|
||
57 | | xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
|
||
58 | | width="200" height="200">
|
||
59 | | <image x="90" y="-65" width="128" height="146" transform="rotate(45)"
|
||
60 | `-> xlink:href="https://developer.mozilla.org/en-US/docs/Web/SVG/Element/image/mdn_logo_only_color.png"/>
|
||
61 | </svg>
|
||
`----
|
||
|
||
x Element
|
||
,-[$DIR/tests/fixture/element/svg/input.html:56:1]
|
||
56 | ,-> <svg version="1.1"
|
||
57 | | xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
|
||
58 | | width="200" height="200">
|
||
59 | | <image x="90" y="-65" width="128" height="146" transform="rotate(45)"
|
||
60 | `-> xlink:href="https://developer.mozilla.org/en-US/docs/Web/SVG/Element/image/mdn_logo_only_color.png"/>
|
||
61 | </svg>
|
||
`----
|
||
|
||
x Child
|
||
,-[$DIR/tests/fixture/element/svg/input.html:58:6]
|
||
58 | ,-> width="200" height="200">
|
||
59 | `-> <image x="90" y="-65" width="128" height="146" transform="rotate(45)"
|
||
`----
|
||
|
||
x Text
|
||
,-[$DIR/tests/fixture/element/svg/input.html:58:6]
|
||
58 | ,-> width="200" height="200">
|
||
59 | `-> <image x="90" y="-65" width="128" height="146" transform="rotate(45)"
|
||
`----
|
||
|
||
x Child
|
||
,-[$DIR/tests/fixture/element/svg/input.html:59:5]
|
||
59 | ,-> <image x="90" y="-65" width="128" height="146" transform="rotate(45)"
|
||
60 | `-> xlink:href="https://developer.mozilla.org/en-US/docs/Web/SVG/Element/image/mdn_logo_only_color.png"/>
|
||
`----
|
||
|
||
x Element
|
||
,-[$DIR/tests/fixture/element/svg/input.html:59:5]
|
||
59 | ,-> <image x="90" y="-65" width="128" height="146" transform="rotate(45)"
|
||
60 | `-> xlink:href="https://developer.mozilla.org/en-US/docs/Web/SVG/Element/image/mdn_logo_only_color.png"/>
|
||
`----
|
||
|
||
x Child
|
||
,-[$DIR/tests/fixture/element/svg/input.html:60:12]
|
||
60 | xlink:href="https://developer.mozilla.org/en-US/docs/Web/SVG/Element/image/mdn_logo_only_color.png"/>
|
||
: ^
|
||
61 | </svg>
|
||
`----
|
||
|
||
x Text
|
||
,-[$DIR/tests/fixture/element/svg/input.html:60:12]
|
||
60 | xlink:href="https://developer.mozilla.org/en-US/docs/Web/SVG/Element/image/mdn_logo_only_color.png"/>
|
||
: ^
|
||
61 | </svg>
|
||
`----
|
||
|
||
x Child
|
||
,-[$DIR/tests/fixture/element/svg/input.html:61:1]
|
||
61 | ,-> </svg>
|
||
62 | `->
|
||
63 | <svg viewBox="0 0 140 50" xmlns="http://www.w3.org/2000/svg">
|
||
`----
|
||
|
||
x Text
|
||
,-[$DIR/tests/fixture/element/svg/input.html:61:1]
|
||
61 | ,-> </svg>
|
||
62 | `->
|
||
63 | <svg viewBox="0 0 140 50" xmlns="http://www.w3.org/2000/svg">
|
||
`----
|
||
|
||
x Child
|
||
,-[$DIR/tests/fixture/element/svg/input.html:63:1]
|
||
63 | ,-> <svg viewBox="0 0 140 50" xmlns="http://www.w3.org/2000/svg">
|
||
64 | | <text y="20" xml:space="default">Default spacing</text>
|
||
65 | `-> <text y="40" xml:space="preserve">Preserved spacing</text>
|
||
66 | </svg>
|
||
`----
|
||
|
||
x Element
|
||
,-[$DIR/tests/fixture/element/svg/input.html:63:1]
|
||
63 | ,-> <svg viewBox="0 0 140 50" xmlns="http://www.w3.org/2000/svg">
|
||
64 | | <text y="20" xml:space="default">Default spacing</text>
|
||
65 | `-> <text y="40" xml:space="preserve">Preserved spacing</text>
|
||
66 | </svg>
|
||
`----
|
||
|
||
x Child
|
||
,-[$DIR/tests/fixture/element/svg/input.html:63:1]
|
||
63 | ,-> <svg viewBox="0 0 140 50" xmlns="http://www.w3.org/2000/svg">
|
||
64 | `-> <text y="20" xml:space="default">Default spacing</text>
|
||
`----
|
||
|
||
x Text
|
||
,-[$DIR/tests/fixture/element/svg/input.html:63:1]
|
||
63 | ,-> <svg viewBox="0 0 140 50" xmlns="http://www.w3.org/2000/svg">
|
||
64 | `-> <text y="20" xml:space="default">Default spacing</text>
|
||
`----
|
||
|
||
x Child
|
||
,-[$DIR/tests/fixture/element/svg/input.html:64:5]
|
||
64 | <text y="20" xml:space="default">Default spacing</text>
|
||
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
`----
|
||
|
||
x Element
|
||
,-[$DIR/tests/fixture/element/svg/input.html:64:5]
|
||
64 | <text y="20" xml:space="default">Default spacing</text>
|
||
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
`----
|
||
|
||
x Child
|
||
,-[$DIR/tests/fixture/element/svg/input.html:64:5]
|
||
64 | <text y="20" xml:space="default">Default spacing</text>
|
||
: ^^^^^^^^^^^^^^^^^
|
||
`----
|
||
|
||
x Text
|
||
,-[$DIR/tests/fixture/element/svg/input.html:64:5]
|
||
64 | <text y="20" xml:space="default">Default spacing</text>
|
||
: ^^^^^^^^^^^^^^^^^
|
||
`----
|
||
|
||
x Child
|
||
,-[$DIR/tests/fixture/element/svg/input.html:64:5]
|
||
64 | ,-> <text y="20" xml:space="default">Default spacing</text>
|
||
65 | `-> <text y="40" xml:space="preserve">Preserved spacing</text>
|
||
`----
|
||
|
||
x Text
|
||
,-[$DIR/tests/fixture/element/svg/input.html:64:5]
|
||
64 | ,-> <text y="20" xml:space="default">Default spacing</text>
|
||
65 | `-> <text y="40" xml:space="preserve">Preserved spacing</text>
|
||
`----
|
||
|
||
x Child
|
||
,-[$DIR/tests/fixture/element/svg/input.html:65:5]
|
||
65 | <text y="40" xml:space="preserve">Preserved spacing</text>
|
||
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
`----
|
||
|
||
x Element
|
||
,-[$DIR/tests/fixture/element/svg/input.html:65:5]
|
||
65 | <text y="40" xml:space="preserve">Preserved spacing</text>
|
||
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
`----
|
||
|
||
x Child
|
||
,-[$DIR/tests/fixture/element/svg/input.html:65:5]
|
||
65 | <text y="40" xml:space="preserve">Preserved spacing</text>
|
||
: ^^^^^^^^^^^^^^^^^^^
|
||
`----
|
||
|
||
x Text
|
||
,-[$DIR/tests/fixture/element/svg/input.html:65:5]
|
||
65 | <text y="40" xml:space="preserve">Preserved spacing</text>
|
||
: ^^^^^^^^^^^^^^^^^^^
|
||
`----
|
||
|
||
x Child
|
||
,-[$DIR/tests/fixture/element/svg/input.html:65:5]
|
||
65 | <text y="40" xml:space="preserve">Preserved spacing</text>
|
||
: ^
|
||
66 | </svg>
|
||
`----
|
||
|
||
x Text
|
||
,-[$DIR/tests/fixture/element/svg/input.html:65:5]
|
||
65 | <text y="40" xml:space="preserve">Preserved spacing</text>
|
||
: ^
|
||
66 | </svg>
|
||
`----
|
||
|
||
x Child
|
||
,-[$DIR/tests/fixture/element/svg/input.html:66:1]
|
||
66 | ,-> </svg>
|
||
67 | `->
|
||
68 | <svg viewBox="0 0 200 100" xmlns="http://www.w3.org/2000/svg">
|
||
`----
|
||
|
||
x Text
|
||
,-[$DIR/tests/fixture/element/svg/input.html:66:1]
|
||
66 | ,-> </svg>
|
||
67 | `->
|
||
68 | <svg viewBox="0 0 200 100" xmlns="http://www.w3.org/2000/svg">
|
||
`----
|
||
|
||
x Child
|
||
,-[$DIR/tests/fixture/element/svg/input.html:68:1]
|
||
68 | ,-> <svg viewBox="0 0 200 100" xmlns="http://www.w3.org/2000/svg">
|
||
69 | | <text xml:lang="en-US">This is some English text</text>
|
||
70 | | <a xlink:href= "http://example.com/link/" xlink:title="The link leads to an example page that is of little interest">
|
||
71 | | <text x="10" y="25" >An example link.</text>
|
||
72 | `-> </a>
|
||
73 | </svg>
|
||
`----
|
||
|
||
x Element
|
||
,-[$DIR/tests/fixture/element/svg/input.html:68:1]
|
||
68 | ,-> <svg viewBox="0 0 200 100" xmlns="http://www.w3.org/2000/svg">
|
||
69 | | <text xml:lang="en-US">This is some English text</text>
|
||
70 | | <a xlink:href= "http://example.com/link/" xlink:title="The link leads to an example page that is of little interest">
|
||
71 | | <text x="10" y="25" >An example link.</text>
|
||
72 | `-> </a>
|
||
73 | </svg>
|
||
`----
|
||
|
||
x Child
|
||
,-[$DIR/tests/fixture/element/svg/input.html:68:1]
|
||
68 | ,-> <svg viewBox="0 0 200 100" xmlns="http://www.w3.org/2000/svg">
|
||
69 | `-> <text xml:lang="en-US">This is some English text</text>
|
||
`----
|
||
|
||
x Text
|
||
,-[$DIR/tests/fixture/element/svg/input.html:68:1]
|
||
68 | ,-> <svg viewBox="0 0 200 100" xmlns="http://www.w3.org/2000/svg">
|
||
69 | `-> <text xml:lang="en-US">This is some English text</text>
|
||
`----
|
||
|
||
x Child
|
||
,-[$DIR/tests/fixture/element/svg/input.html:69:5]
|
||
69 | <text xml:lang="en-US">This is some English text</text>
|
||
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
`----
|
||
|
||
x Element
|
||
,-[$DIR/tests/fixture/element/svg/input.html:69:5]
|
||
69 | <text xml:lang="en-US">This is some English text</text>
|
||
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
`----
|
||
|
||
x Child
|
||
,-[$DIR/tests/fixture/element/svg/input.html:69:5]
|
||
69 | <text xml:lang="en-US">This is some English text</text>
|
||
: ^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
`----
|
||
|
||
x Text
|
||
,-[$DIR/tests/fixture/element/svg/input.html:69:5]
|
||
69 | <text xml:lang="en-US">This is some English text</text>
|
||
: ^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
`----
|
||
|
||
x Child
|
||
,-[$DIR/tests/fixture/element/svg/input.html:69:5]
|
||
69 | ,-> <text xml:lang="en-US">This is some English text</text>
|
||
70 | `-> <a xlink:href= "http://example.com/link/" xlink:title="The link leads to an example page that is of little interest">
|
||
`----
|
||
|
||
x Text
|
||
,-[$DIR/tests/fixture/element/svg/input.html:69:5]
|
||
69 | ,-> <text xml:lang="en-US">This is some English text</text>
|
||
70 | `-> <a xlink:href= "http://example.com/link/" xlink:title="The link leads to an example page that is of little interest">
|
||
`----
|
||
|
||
x Child
|
||
,-[$DIR/tests/fixture/element/svg/input.html:70:5]
|
||
70 | ,-> <a xlink:href= "http://example.com/link/" xlink:title="The link leads to an example page that is of little interest">
|
||
71 | | <text x="10" y="25" >An example link.</text>
|
||
72 | `-> </a>
|
||
`----
|
||
|
||
x Element
|
||
,-[$DIR/tests/fixture/element/svg/input.html:70:5]
|
||
70 | ,-> <a xlink:href= "http://example.com/link/" xlink:title="The link leads to an example page that is of little interest">
|
||
71 | | <text x="10" y="25" >An example link.</text>
|
||
72 | `-> </a>
|
||
`----
|
||
|
||
x Child
|
||
,-[$DIR/tests/fixture/element/svg/input.html:70:5]
|
||
70 | ,-> <a xlink:href= "http://example.com/link/" xlink:title="The link leads to an example page that is of little interest">
|
||
71 | `-> <text x="10" y="25" >An example link.</text>
|
||
`----
|
||
|
||
x Text
|
||
,-[$DIR/tests/fixture/element/svg/input.html:70:5]
|
||
70 | ,-> <a xlink:href= "http://example.com/link/" xlink:title="The link leads to an example page that is of little interest">
|
||
71 | `-> <text x="10" y="25" >An example link.</text>
|
||
`----
|
||
|
||
x Child
|
||
,-[$DIR/tests/fixture/element/svg/input.html:71:9]
|
||
71 | <text x="10" y="25" >An example link.</text>
|
||
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
`----
|
||
|
||
x Element
|
||
,-[$DIR/tests/fixture/element/svg/input.html:71:9]
|
||
71 | <text x="10" y="25" >An example link.</text>
|
||
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
`----
|
||
|
||
x Child
|
||
,-[$DIR/tests/fixture/element/svg/input.html:71:9]
|
||
71 | <text x="10" y="25" >An example link.</text>
|
||
: ^^^^^^^^^^^^^^^^
|
||
`----
|
||
|
||
x Text
|
||
,-[$DIR/tests/fixture/element/svg/input.html:71:9]
|
||
71 | <text x="10" y="25" >An example link.</text>
|
||
: ^^^^^^^^^^^^^^^^
|
||
`----
|
||
|
||
x Child
|
||
,-[$DIR/tests/fixture/element/svg/input.html:71:9]
|
||
71 | ,-> <text x="10" y="25" >An example link.</text>
|
||
72 | `-> </a>
|
||
`----
|
||
|
||
x Text
|
||
,-[$DIR/tests/fixture/element/svg/input.html:71:9]
|
||
71 | ,-> <text x="10" y="25" >An example link.</text>
|
||
72 | `-> </a>
|
||
`----
|
||
|
||
x Child
|
||
,-[$DIR/tests/fixture/element/svg/input.html:72:5]
|
||
72 | </a>
|
||
: ^
|
||
73 | </svg>
|
||
`----
|
||
|
||
x Text
|
||
,-[$DIR/tests/fixture/element/svg/input.html:72:5]
|
||
72 | </a>
|
||
: ^
|
||
73 | </svg>
|
||
`----
|
||
|
||
x Child
|
||
,-[$DIR/tests/fixture/element/svg/input.html:73:1]
|
||
73 | ,-> </svg>
|
||
74 | `->
|
||
75 | <svg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg">
|
||
`----
|
||
|
||
x Text
|
||
,-[$DIR/tests/fixture/element/svg/input.html:73:1]
|
||
73 | ,-> </svg>
|
||
74 | `->
|
||
75 | <svg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg">
|
||
`----
|
||
|
||
x Child
|
||
,-[$DIR/tests/fixture/element/svg/input.html:75:1]
|
||
75 | ,-> <svg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg">
|
||
76 | | <style>
|
||
77 | | div {
|
||
78 | | color: white;
|
||
79 | | font: 18px serif;
|
||
80 | | height: 100%;
|
||
81 | | overflow: auto;
|
||
82 | | }
|
||
83 | | </style>
|
||
84 | |
|
||
85 | | <polygon points="5,5 195,10 185,185 10,195" />
|
||
86 | |
|
||
87 | | <!-- Common use case: embed HTML text into SVG -->
|
||
88 | | <foreignObject x="20" y="20" width="160" height="160">
|
||
89 | | <!--
|
||
90 | | In the context of SVG embedded in an HTML document, the XHTML
|
||
91 | | namespace could be omitted, but it is mandatory in the
|
||
92 | | context of an SVG document
|
||
93 | | -->
|
||
94 | | <div xmlns="http://www.w3.org/1999/xhtml">
|
||
95 | | Lorem ipsum dolor sit amet, consectetur adipiscing elit.
|
||
96 | | Sed mollis mollis mi ut ultricies. Nullam magna ipsum,
|
||
97 | | porta vel dui convallis, rutrum imperdiet eros. Aliquam
|
||
98 | | erat volutpat.
|
||
99 | | </div>
|
||
100 | `-> </foreignObject>
|
||
101 | </svg>
|
||
`----
|
||
|
||
x Element
|
||
,-[$DIR/tests/fixture/element/svg/input.html:75:1]
|
||
75 | ,-> <svg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg">
|
||
76 | | <style>
|
||
77 | | div {
|
||
78 | | color: white;
|
||
79 | | font: 18px serif;
|
||
80 | | height: 100%;
|
||
81 | | overflow: auto;
|
||
82 | | }
|
||
83 | | </style>
|
||
84 | |
|
||
85 | | <polygon points="5,5 195,10 185,185 10,195" />
|
||
86 | |
|
||
87 | | <!-- Common use case: embed HTML text into SVG -->
|
||
88 | | <foreignObject x="20" y="20" width="160" height="160">
|
||
89 | | <!--
|
||
90 | | In the context of SVG embedded in an HTML document, the XHTML
|
||
91 | | namespace could be omitted, but it is mandatory in the
|
||
92 | | context of an SVG document
|
||
93 | | -->
|
||
94 | | <div xmlns="http://www.w3.org/1999/xhtml">
|
||
95 | | Lorem ipsum dolor sit amet, consectetur adipiscing elit.
|
||
96 | | Sed mollis mollis mi ut ultricies. Nullam magna ipsum,
|
||
97 | | porta vel dui convallis, rutrum imperdiet eros. Aliquam
|
||
98 | | erat volutpat.
|
||
99 | | </div>
|
||
100 | `-> </foreignObject>
|
||
101 | </svg>
|
||
`----
|
||
|
||
x Child
|
||
,-[$DIR/tests/fixture/element/svg/input.html:75:1]
|
||
75 | ,-> <svg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg">
|
||
76 | `-> <style>
|
||
`----
|
||
|
||
x Text
|
||
,-[$DIR/tests/fixture/element/svg/input.html:75:1]
|
||
75 | ,-> <svg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg">
|
||
76 | `-> <style>
|
||
`----
|
||
|
||
x Child
|
||
,-[$DIR/tests/fixture/element/svg/input.html:76:5]
|
||
76 | ,-> <style>
|
||
77 | | div {
|
||
78 | | color: white;
|
||
79 | | font: 18px serif;
|
||
80 | | height: 100%;
|
||
81 | | overflow: auto;
|
||
82 | | }
|
||
83 | `-> </style>
|
||
`----
|
||
|
||
x Element
|
||
,-[$DIR/tests/fixture/element/svg/input.html:76:5]
|
||
76 | ,-> <style>
|
||
77 | | div {
|
||
78 | | color: white;
|
||
79 | | font: 18px serif;
|
||
80 | | height: 100%;
|
||
81 | | overflow: auto;
|
||
82 | | }
|
||
83 | `-> </style>
|
||
`----
|
||
|
||
x Child
|
||
,-[$DIR/tests/fixture/element/svg/input.html:76:5]
|
||
76 | ,-> <style>
|
||
77 | | div {
|
||
78 | | color: white;
|
||
79 | | font: 18px serif;
|
||
80 | | height: 100%;
|
||
81 | | overflow: auto;
|
||
82 | | }
|
||
83 | `-> </style>
|
||
`----
|
||
|
||
x Text
|
||
,-[$DIR/tests/fixture/element/svg/input.html:76:5]
|
||
76 | ,-> <style>
|
||
77 | | div {
|
||
78 | | color: white;
|
||
79 | | font: 18px serif;
|
||
80 | | height: 100%;
|
||
81 | | overflow: auto;
|
||
82 | | }
|
||
83 | `-> </style>
|
||
`----
|
||
|
||
x Child
|
||
,-[$DIR/tests/fixture/element/svg/input.html:83:5]
|
||
83 | ,-> </style>
|
||
84 | |
|
||
85 | `-> <polygon points="5,5 195,10 185,185 10,195" />
|
||
`----
|
||
|
||
x Text
|
||
,-[$DIR/tests/fixture/element/svg/input.html:83:5]
|
||
83 | ,-> </style>
|
||
84 | |
|
||
85 | `-> <polygon points="5,5 195,10 185,185 10,195" />
|
||
`----
|
||
|
||
x Child
|
||
,-[$DIR/tests/fixture/element/svg/input.html:85:5]
|
||
85 | <polygon points="5,5 195,10 185,185 10,195" />
|
||
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
`----
|
||
|
||
x Element
|
||
,-[$DIR/tests/fixture/element/svg/input.html:85:5]
|
||
85 | <polygon points="5,5 195,10 185,185 10,195" />
|
||
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
`----
|
||
|
||
x Child
|
||
,-[$DIR/tests/fixture/element/svg/input.html:85:5]
|
||
85 | ,-> <polygon points="5,5 195,10 185,185 10,195" />
|
||
86 | |
|
||
87 | `-> <!-- Common use case: embed HTML text into SVG -->
|
||
`----
|
||
|
||
x Text
|
||
,-[$DIR/tests/fixture/element/svg/input.html:85:5]
|
||
85 | ,-> <polygon points="5,5 195,10 185,185 10,195" />
|
||
86 | |
|
||
87 | `-> <!-- Common use case: embed HTML text into SVG -->
|
||
`----
|
||
|
||
x Child
|
||
,-[$DIR/tests/fixture/element/svg/input.html:87:5]
|
||
87 | <!-- Common use case: embed HTML text into SVG -->
|
||
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
`----
|
||
|
||
x Comment
|
||
,-[$DIR/tests/fixture/element/svg/input.html:87:5]
|
||
87 | <!-- Common use case: embed HTML text into SVG -->
|
||
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
`----
|
||
|
||
x Child
|
||
,-[$DIR/tests/fixture/element/svg/input.html:87:5]
|
||
87 | ,-> <!-- Common use case: embed HTML text into SVG -->
|
||
88 | `-> <foreignObject x="20" y="20" width="160" height="160">
|
||
`----
|
||
|
||
x Text
|
||
,-[$DIR/tests/fixture/element/svg/input.html:87:5]
|
||
87 | ,-> <!-- Common use case: embed HTML text into SVG -->
|
||
88 | `-> <foreignObject x="20" y="20" width="160" height="160">
|
||
`----
|
||
|
||
x Child
|
||
,-[$DIR/tests/fixture/element/svg/input.html:88:5]
|
||
88 | ,-> <foreignObject x="20" y="20" width="160" height="160">
|
||
89 | | <!--
|
||
90 | | In the context of SVG embedded in an HTML document, the XHTML
|
||
91 | | namespace could be omitted, but it is mandatory in the
|
||
92 | | context of an SVG document
|
||
93 | | -->
|
||
94 | | <div xmlns="http://www.w3.org/1999/xhtml">
|
||
95 | | Lorem ipsum dolor sit amet, consectetur adipiscing elit.
|
||
96 | | Sed mollis mollis mi ut ultricies. Nullam magna ipsum,
|
||
97 | | porta vel dui convallis, rutrum imperdiet eros. Aliquam
|
||
98 | | erat volutpat.
|
||
99 | | </div>
|
||
100 | `-> </foreignObject>
|
||
`----
|
||
|
||
x Element
|
||
,-[$DIR/tests/fixture/element/svg/input.html:88:5]
|
||
88 | ,-> <foreignObject x="20" y="20" width="160" height="160">
|
||
89 | | <!--
|
||
90 | | In the context of SVG embedded in an HTML document, the XHTML
|
||
91 | | namespace could be omitted, but it is mandatory in the
|
||
92 | | context of an SVG document
|
||
93 | | -->
|
||
94 | | <div xmlns="http://www.w3.org/1999/xhtml">
|
||
95 | | Lorem ipsum dolor sit amet, consectetur adipiscing elit.
|
||
96 | | Sed mollis mollis mi ut ultricies. Nullam magna ipsum,
|
||
97 | | porta vel dui convallis, rutrum imperdiet eros. Aliquam
|
||
98 | | erat volutpat.
|
||
99 | | </div>
|
||
100 | `-> </foreignObject>
|
||
`----
|
||
|
||
x Child
|
||
,-[$DIR/tests/fixture/element/svg/input.html:88:5]
|
||
88 | ,-> <foreignObject x="20" y="20" width="160" height="160">
|
||
89 | `-> <!--
|
||
`----
|
||
|
||
x Text
|
||
,-[$DIR/tests/fixture/element/svg/input.html:88:5]
|
||
88 | ,-> <foreignObject x="20" y="20" width="160" height="160">
|
||
89 | `-> <!--
|
||
`----
|
||
|
||
x Child
|
||
,-[$DIR/tests/fixture/element/svg/input.html:89:9]
|
||
89 | ,-> <!--
|
||
90 | | In the context of SVG embedded in an HTML document, the XHTML
|
||
91 | | namespace could be omitted, but it is mandatory in the
|
||
92 | | context of an SVG document
|
||
93 | `-> -->
|
||
`----
|
||
|
||
x Comment
|
||
,-[$DIR/tests/fixture/element/svg/input.html:89:9]
|
||
89 | ,-> <!--
|
||
90 | | In the context of SVG embedded in an HTML document, the XHTML
|
||
91 | | namespace could be omitted, but it is mandatory in the
|
||
92 | | context of an SVG document
|
||
93 | `-> -->
|
||
`----
|
||
|
||
x Child
|
||
,-[$DIR/tests/fixture/element/svg/input.html:93:9]
|
||
93 | ,-> -->
|
||
94 | `-> <div xmlns="http://www.w3.org/1999/xhtml">
|
||
`----
|
||
|
||
x Text
|
||
,-[$DIR/tests/fixture/element/svg/input.html:93:9]
|
||
93 | ,-> -->
|
||
94 | `-> <div xmlns="http://www.w3.org/1999/xhtml">
|
||
`----
|
||
|
||
x Child
|
||
,-[$DIR/tests/fixture/element/svg/input.html:94:9]
|
||
94 | ,-> <div xmlns="http://www.w3.org/1999/xhtml">
|
||
95 | | Lorem ipsum dolor sit amet, consectetur adipiscing elit.
|
||
96 | | Sed mollis mollis mi ut ultricies. Nullam magna ipsum,
|
||
97 | | porta vel dui convallis, rutrum imperdiet eros. Aliquam
|
||
98 | | erat volutpat.
|
||
99 | `-> </div>
|
||
`----
|
||
|
||
x Element
|
||
,-[$DIR/tests/fixture/element/svg/input.html:94:9]
|
||
94 | ,-> <div xmlns="http://www.w3.org/1999/xhtml">
|
||
95 | | Lorem ipsum dolor sit amet, consectetur adipiscing elit.
|
||
96 | | Sed mollis mollis mi ut ultricies. Nullam magna ipsum,
|
||
97 | | porta vel dui convallis, rutrum imperdiet eros. Aliquam
|
||
98 | | erat volutpat.
|
||
99 | `-> </div>
|
||
`----
|
||
|
||
x Child
|
||
,-[$DIR/tests/fixture/element/svg/input.html:94:9]
|
||
94 | ,-> <div xmlns="http://www.w3.org/1999/xhtml">
|
||
95 | | Lorem ipsum dolor sit amet, consectetur adipiscing elit.
|
||
96 | | Sed mollis mollis mi ut ultricies. Nullam magna ipsum,
|
||
97 | | porta vel dui convallis, rutrum imperdiet eros. Aliquam
|
||
98 | | erat volutpat.
|
||
99 | `-> </div>
|
||
`----
|
||
|
||
x Text
|
||
,-[$DIR/tests/fixture/element/svg/input.html:94:9]
|
||
94 | ,-> <div xmlns="http://www.w3.org/1999/xhtml">
|
||
95 | | Lorem ipsum dolor sit amet, consectetur adipiscing elit.
|
||
96 | | Sed mollis mollis mi ut ultricies. Nullam magna ipsum,
|
||
97 | | porta vel dui convallis, rutrum imperdiet eros. Aliquam
|
||
98 | | erat volutpat.
|
||
99 | `-> </div>
|
||
`----
|
||
|
||
x Child
|
||
,-[$DIR/tests/fixture/element/svg/input.html:99:9]
|
||
99 | ,-> </div>
|
||
100 | `-> </foreignObject>
|
||
`----
|
||
|
||
x Text
|
||
,-[$DIR/tests/fixture/element/svg/input.html:99:9]
|
||
99 | ,-> </div>
|
||
100 | `-> </foreignObject>
|
||
`----
|
||
|
||
x Child
|
||
,-[$DIR/tests/fixture/element/svg/input.html:100:5]
|
||
100 | </foreignObject>
|
||
: ^
|
||
101 | </svg>
|
||
`----
|
||
|
||
x Text
|
||
,-[$DIR/tests/fixture/element/svg/input.html:100:5]
|
||
100 | </foreignObject>
|
||
: ^
|
||
101 | </svg>
|
||
`----
|
||
|
||
x Child
|
||
,-[$DIR/tests/fixture/element/svg/input.html:101:1]
|
||
101 | ,-> </svg>
|
||
102 | `->
|
||
103 | <svg style="font-size: 20px" width="400px" height="220px" viewBox="0 0 200 110">
|
||
`----
|
||
|
||
x Text
|
||
,-[$DIR/tests/fixture/element/svg/input.html:101:1]
|
||
101 | ,-> </svg>
|
||
102 | `->
|
||
103 | <svg style="font-size: 20px" width="400px" height="220px" viewBox="0 0 200 110">
|
||
`----
|
||
|
||
x Child
|
||
,-[$DIR/tests/fixture/element/svg/input.html:103:1]
|
||
103 | ,-> <svg style="font-size: 20px" width="400px" height="220px" viewBox="0 0 200 110">
|
||
104 | | <g transform="translate(10,80)">
|
||
105 | | <path d="M 0 0 L 150 0 A 75 75 0 0 0 0 0
|
||
106 | | M 30 0 L 30 -60 M 30 -10 L 40 -10 L 40 0"
|
||
107 | | fill="none" stroke="black"></path>
|
||
108 | | <text transform="translate(10,20)">1</text>
|
||
109 | | <switch transform="translate(35,-40)">
|
||
110 | | <foreignObject width="200" height="50"
|
||
111 | | requiredExtensions="http://www.w3.org/1998/Math/MathML">
|
||
112 | | <math>
|
||
113 | | <msqrt>
|
||
114 | | <mn>2</mn>
|
||
115 | | <mi>r</mi>
|
||
116 | | <mo>−</mo>
|
||
117 | | <mn>1</mn>
|
||
118 | | </msqrt>
|
||
119 | | </math>
|
||
120 | | </foreignObject>
|
||
121 | | <text>\sqrt{2r - 1}</text>
|
||
122 | | </switch>
|
||
123 | `-> </g>
|
||
124 | </svg>
|
||
`----
|
||
|
||
x Element
|
||
,-[$DIR/tests/fixture/element/svg/input.html:103:1]
|
||
103 | ,-> <svg style="font-size: 20px" width="400px" height="220px" viewBox="0 0 200 110">
|
||
104 | | <g transform="translate(10,80)">
|
||
105 | | <path d="M 0 0 L 150 0 A 75 75 0 0 0 0 0
|
||
106 | | M 30 0 L 30 -60 M 30 -10 L 40 -10 L 40 0"
|
||
107 | | fill="none" stroke="black"></path>
|
||
108 | | <text transform="translate(10,20)">1</text>
|
||
109 | | <switch transform="translate(35,-40)">
|
||
110 | | <foreignObject width="200" height="50"
|
||
111 | | requiredExtensions="http://www.w3.org/1998/Math/MathML">
|
||
112 | | <math>
|
||
113 | | <msqrt>
|
||
114 | | <mn>2</mn>
|
||
115 | | <mi>r</mi>
|
||
116 | | <mo>−</mo>
|
||
117 | | <mn>1</mn>
|
||
118 | | </msqrt>
|
||
119 | | </math>
|
||
120 | | </foreignObject>
|
||
121 | | <text>\sqrt{2r - 1}</text>
|
||
122 | | </switch>
|
||
123 | `-> </g>
|
||
124 | </svg>
|
||
`----
|
||
|
||
x Child
|
||
,-[$DIR/tests/fixture/element/svg/input.html:103:1]
|
||
103 | ,-> <svg style="font-size: 20px" width="400px" height="220px" viewBox="0 0 200 110">
|
||
104 | `-> <g transform="translate(10,80)">
|
||
`----
|
||
|
||
x Text
|
||
,-[$DIR/tests/fixture/element/svg/input.html:103:1]
|
||
103 | ,-> <svg style="font-size: 20px" width="400px" height="220px" viewBox="0 0 200 110">
|
||
104 | `-> <g transform="translate(10,80)">
|
||
`----
|
||
|
||
x Child
|
||
,-[$DIR/tests/fixture/element/svg/input.html:104:5]
|
||
104 | ,-> <g transform="translate(10,80)">
|
||
105 | | <path d="M 0 0 L 150 0 A 75 75 0 0 0 0 0
|
||
106 | | M 30 0 L 30 -60 M 30 -10 L 40 -10 L 40 0"
|
||
107 | | fill="none" stroke="black"></path>
|
||
108 | | <text transform="translate(10,20)">1</text>
|
||
109 | | <switch transform="translate(35,-40)">
|
||
110 | | <foreignObject width="200" height="50"
|
||
111 | | requiredExtensions="http://www.w3.org/1998/Math/MathML">
|
||
112 | | <math>
|
||
113 | | <msqrt>
|
||
114 | | <mn>2</mn>
|
||
115 | | <mi>r</mi>
|
||
116 | | <mo>−</mo>
|
||
117 | | <mn>1</mn>
|
||
118 | | </msqrt>
|
||
119 | | </math>
|
||
120 | | </foreignObject>
|
||
121 | | <text>\sqrt{2r - 1}</text>
|
||
122 | | </switch>
|
||
123 | `-> </g>
|
||
`----
|
||
|
||
x Element
|
||
,-[$DIR/tests/fixture/element/svg/input.html:104:5]
|
||
104 | ,-> <g transform="translate(10,80)">
|
||
105 | | <path d="M 0 0 L 150 0 A 75 75 0 0 0 0 0
|
||
106 | | M 30 0 L 30 -60 M 30 -10 L 40 -10 L 40 0"
|
||
107 | | fill="none" stroke="black"></path>
|
||
108 | | <text transform="translate(10,20)">1</text>
|
||
109 | | <switch transform="translate(35,-40)">
|
||
110 | | <foreignObject width="200" height="50"
|
||
111 | | requiredExtensions="http://www.w3.org/1998/Math/MathML">
|
||
112 | | <math>
|
||
113 | | <msqrt>
|
||
114 | | <mn>2</mn>
|
||
115 | | <mi>r</mi>
|
||
116 | | <mo>−</mo>
|
||
117 | | <mn>1</mn>
|
||
118 | | </msqrt>
|
||
119 | | </math>
|
||
120 | | </foreignObject>
|
||
121 | | <text>\sqrt{2r - 1}</text>
|
||
122 | | </switch>
|
||
123 | `-> </g>
|
||
`----
|
||
|
||
x Child
|
||
,-[$DIR/tests/fixture/element/svg/input.html:104:5]
|
||
104 | ,-> <g transform="translate(10,80)">
|
||
105 | `-> <path d="M 0 0 L 150 0 A 75 75 0 0 0 0 0
|
||
`----
|
||
|
||
x Text
|
||
,-[$DIR/tests/fixture/element/svg/input.html:104:5]
|
||
104 | ,-> <g transform="translate(10,80)">
|
||
105 | `-> <path d="M 0 0 L 150 0 A 75 75 0 0 0 0 0
|
||
`----
|
||
|
||
x Child
|
||
,-[$DIR/tests/fixture/element/svg/input.html:105:9]
|
||
105 | ,-> <path d="M 0 0 L 150 0 A 75 75 0 0 0 0 0
|
||
106 | | M 30 0 L 30 -60 M 30 -10 L 40 -10 L 40 0"
|
||
107 | `-> fill="none" stroke="black"></path>
|
||
`----
|
||
|
||
x Element
|
||
,-[$DIR/tests/fixture/element/svg/input.html:105:9]
|
||
105 | ,-> <path d="M 0 0 L 150 0 A 75 75 0 0 0 0 0
|
||
106 | | M 30 0 L 30 -60 M 30 -10 L 40 -10 L 40 0"
|
||
107 | `-> fill="none" stroke="black"></path>
|
||
`----
|
||
|
||
x Child
|
||
,-[$DIR/tests/fixture/element/svg/input.html:107:15]
|
||
107 | ,-> fill="none" stroke="black"></path>
|
||
108 | `-> <text transform="translate(10,20)">1</text>
|
||
`----
|
||
|
||
x Text
|
||
,-[$DIR/tests/fixture/element/svg/input.html:107:15]
|
||
107 | ,-> fill="none" stroke="black"></path>
|
||
108 | `-> <text transform="translate(10,20)">1</text>
|
||
`----
|
||
|
||
x Child
|
||
,-[$DIR/tests/fixture/element/svg/input.html:108:9]
|
||
108 | <text transform="translate(10,20)">1</text>
|
||
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
`----
|
||
|
||
x Element
|
||
,-[$DIR/tests/fixture/element/svg/input.html:108:9]
|
||
108 | <text transform="translate(10,20)">1</text>
|
||
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
`----
|
||
|
||
x Child
|
||
,-[$DIR/tests/fixture/element/svg/input.html:108:9]
|
||
108 | <text transform="translate(10,20)">1</text>
|
||
: ^
|
||
`----
|
||
|
||
x Text
|
||
,-[$DIR/tests/fixture/element/svg/input.html:108:9]
|
||
108 | <text transform="translate(10,20)">1</text>
|
||
: ^
|
||
`----
|
||
|
||
x Child
|
||
,-[$DIR/tests/fixture/element/svg/input.html:108:9]
|
||
108 | ,-> <text transform="translate(10,20)">1</text>
|
||
109 | `-> <switch transform="translate(35,-40)">
|
||
`----
|
||
|
||
x Text
|
||
,-[$DIR/tests/fixture/element/svg/input.html:108:9]
|
||
108 | ,-> <text transform="translate(10,20)">1</text>
|
||
109 | `-> <switch transform="translate(35,-40)">
|
||
`----
|
||
|
||
x Child
|
||
,-[$DIR/tests/fixture/element/svg/input.html:109:9]
|
||
109 | ,-> <switch transform="translate(35,-40)">
|
||
110 | | <foreignObject width="200" height="50"
|
||
111 | | requiredExtensions="http://www.w3.org/1998/Math/MathML">
|
||
112 | | <math>
|
||
113 | | <msqrt>
|
||
114 | | <mn>2</mn>
|
||
115 | | <mi>r</mi>
|
||
116 | | <mo>−</mo>
|
||
117 | | <mn>1</mn>
|
||
118 | | </msqrt>
|
||
119 | | </math>
|
||
120 | | </foreignObject>
|
||
121 | | <text>\sqrt{2r - 1}</text>
|
||
122 | `-> </switch>
|
||
`----
|
||
|
||
x Element
|
||
,-[$DIR/tests/fixture/element/svg/input.html:109:9]
|
||
109 | ,-> <switch transform="translate(35,-40)">
|
||
110 | | <foreignObject width="200" height="50"
|
||
111 | | requiredExtensions="http://www.w3.org/1998/Math/MathML">
|
||
112 | | <math>
|
||
113 | | <msqrt>
|
||
114 | | <mn>2</mn>
|
||
115 | | <mi>r</mi>
|
||
116 | | <mo>−</mo>
|
||
117 | | <mn>1</mn>
|
||
118 | | </msqrt>
|
||
119 | | </math>
|
||
120 | | </foreignObject>
|
||
121 | | <text>\sqrt{2r - 1}</text>
|
||
122 | `-> </switch>
|
||
`----
|
||
|
||
x Child
|
||
,-[$DIR/tests/fixture/element/svg/input.html:109:9]
|
||
109 | ,-> <switch transform="translate(35,-40)">
|
||
110 | `-> <foreignObject width="200" height="50"
|
||
`----
|
||
|
||
x Text
|
||
,-[$DIR/tests/fixture/element/svg/input.html:109:9]
|
||
109 | ,-> <switch transform="translate(35,-40)">
|
||
110 | `-> <foreignObject width="200" height="50"
|
||
`----
|
||
|
||
x Child
|
||
,-[$DIR/tests/fixture/element/svg/input.html:110:13]
|
||
110 | ,-> <foreignObject width="200" height="50"
|
||
111 | | requiredExtensions="http://www.w3.org/1998/Math/MathML">
|
||
112 | | <math>
|
||
113 | | <msqrt>
|
||
114 | | <mn>2</mn>
|
||
115 | | <mi>r</mi>
|
||
116 | | <mo>−</mo>
|
||
117 | | <mn>1</mn>
|
||
118 | | </msqrt>
|
||
119 | | </math>
|
||
120 | `-> </foreignObject>
|
||
`----
|
||
|
||
x Element
|
||
,-[$DIR/tests/fixture/element/svg/input.html:110:13]
|
||
110 | ,-> <foreignObject width="200" height="50"
|
||
111 | | requiredExtensions="http://www.w3.org/1998/Math/MathML">
|
||
112 | | <math>
|
||
113 | | <msqrt>
|
||
114 | | <mn>2</mn>
|
||
115 | | <mi>r</mi>
|
||
116 | | <mo>−</mo>
|
||
117 | | <mn>1</mn>
|
||
118 | | </msqrt>
|
||
119 | | </math>
|
||
120 | `-> </foreignObject>
|
||
`----
|
||
|
||
x Child
|
||
,-[$DIR/tests/fixture/element/svg/input.html:111:28]
|
||
111 | ,-> requiredExtensions="http://www.w3.org/1998/Math/MathML">
|
||
112 | `-> <math>
|
||
`----
|
||
|
||
x Text
|
||
,-[$DIR/tests/fixture/element/svg/input.html:111:28]
|
||
111 | ,-> requiredExtensions="http://www.w3.org/1998/Math/MathML">
|
||
112 | `-> <math>
|
||
`----
|
||
|
||
x Child
|
||
,-[$DIR/tests/fixture/element/svg/input.html:112:17]
|
||
112 | ,-> <math>
|
||
113 | | <msqrt>
|
||
114 | | <mn>2</mn>
|
||
115 | | <mi>r</mi>
|
||
116 | | <mo>−</mo>
|
||
117 | | <mn>1</mn>
|
||
118 | | </msqrt>
|
||
119 | `-> </math>
|
||
`----
|
||
|
||
x Element
|
||
,-[$DIR/tests/fixture/element/svg/input.html:112:17]
|
||
112 | ,-> <math>
|
||
113 | | <msqrt>
|
||
114 | | <mn>2</mn>
|
||
115 | | <mi>r</mi>
|
||
116 | | <mo>−</mo>
|
||
117 | | <mn>1</mn>
|
||
118 | | </msqrt>
|
||
119 | `-> </math>
|
||
`----
|
||
|
||
x Child
|
||
,-[$DIR/tests/fixture/element/svg/input.html:112:17]
|
||
112 | ,-> <math>
|
||
113 | `-> <msqrt>
|
||
`----
|
||
|
||
x Text
|
||
,-[$DIR/tests/fixture/element/svg/input.html:112:17]
|
||
112 | ,-> <math>
|
||
113 | `-> <msqrt>
|
||
`----
|
||
|
||
x Child
|
||
,-[$DIR/tests/fixture/element/svg/input.html:113:21]
|
||
113 | ,-> <msqrt>
|
||
114 | | <mn>2</mn>
|
||
115 | | <mi>r</mi>
|
||
116 | | <mo>−</mo>
|
||
117 | | <mn>1</mn>
|
||
118 | `-> </msqrt>
|
||
`----
|
||
|
||
x Element
|
||
,-[$DIR/tests/fixture/element/svg/input.html:113:21]
|
||
113 | ,-> <msqrt>
|
||
114 | | <mn>2</mn>
|
||
115 | | <mi>r</mi>
|
||
116 | | <mo>−</mo>
|
||
117 | | <mn>1</mn>
|
||
118 | `-> </msqrt>
|
||
`----
|
||
|
||
x Child
|
||
,-[$DIR/tests/fixture/element/svg/input.html:113:21]
|
||
113 | ,-> <msqrt>
|
||
114 | `-> <mn>2</mn>
|
||
`----
|
||
|
||
x Text
|
||
,-[$DIR/tests/fixture/element/svg/input.html:113:21]
|
||
113 | ,-> <msqrt>
|
||
114 | `-> <mn>2</mn>
|
||
`----
|
||
|
||
x Child
|
||
,-[$DIR/tests/fixture/element/svg/input.html:114:25]
|
||
114 | <mn>2</mn>
|
||
: ^^^^^
|
||
`----
|
||
|
||
x Element
|
||
,-[$DIR/tests/fixture/element/svg/input.html:114:25]
|
||
114 | <mn>2</mn>
|
||
: ^^^^^
|
||
`----
|
||
|
||
x Child
|
||
,-[$DIR/tests/fixture/element/svg/input.html:114:25]
|
||
114 | <mn>2</mn>
|
||
: ^
|
||
`----
|
||
|
||
x Text
|
||
,-[$DIR/tests/fixture/element/svg/input.html:114:25]
|
||
114 | <mn>2</mn>
|
||
: ^
|
||
`----
|
||
|
||
x Child
|
||
,-[$DIR/tests/fixture/element/svg/input.html:114:25]
|
||
114 | ,-> <mn>2</mn>
|
||
115 | `-> <mi>r</mi>
|
||
`----
|
||
|
||
x Text
|
||
,-[$DIR/tests/fixture/element/svg/input.html:114:25]
|
||
114 | ,-> <mn>2</mn>
|
||
115 | `-> <mi>r</mi>
|
||
`----
|
||
|
||
x Child
|
||
,-[$DIR/tests/fixture/element/svg/input.html:115:25]
|
||
115 | <mi>r</mi>
|
||
: ^^^^^
|
||
`----
|
||
|
||
x Element
|
||
,-[$DIR/tests/fixture/element/svg/input.html:115:25]
|
||
115 | <mi>r</mi>
|
||
: ^^^^^
|
||
`----
|
||
|
||
x Child
|
||
,-[$DIR/tests/fixture/element/svg/input.html:115:25]
|
||
115 | <mi>r</mi>
|
||
: ^
|
||
`----
|
||
|
||
x Text
|
||
,-[$DIR/tests/fixture/element/svg/input.html:115:25]
|
||
115 | <mi>r</mi>
|
||
: ^
|
||
`----
|
||
|
||
x Child
|
||
,-[$DIR/tests/fixture/element/svg/input.html:115:25]
|
||
115 | ,-> <mi>r</mi>
|
||
116 | `-> <mo>−</mo>
|
||
`----
|
||
|
||
x Text
|
||
,-[$DIR/tests/fixture/element/svg/input.html:115:25]
|
||
115 | ,-> <mi>r</mi>
|
||
116 | `-> <mo>−</mo>
|
||
`----
|
||
|
||
x Child
|
||
,-[$DIR/tests/fixture/element/svg/input.html:116:25]
|
||
116 | <mo>−</mo>
|
||
: ^^^^^^^
|
||
`----
|
||
|
||
x Element
|
||
,-[$DIR/tests/fixture/element/svg/input.html:116:25]
|
||
116 | <mo>−</mo>
|
||
: ^^^^^^^
|
||
`----
|
||
|
||
x Child
|
||
,-[$DIR/tests/fixture/element/svg/input.html:116:25]
|
||
116 | <mo>−</mo>
|
||
: ^^^
|
||
`----
|
||
|
||
x Text
|
||
,-[$DIR/tests/fixture/element/svg/input.html:116:25]
|
||
116 | <mo>−</mo>
|
||
: ^^^
|
||
`----
|
||
|
||
x Child
|
||
,-[$DIR/tests/fixture/element/svg/input.html:116:25]
|
||
116 | ,-> <mo>−</mo>
|
||
117 | `-> <mn>1</mn>
|
||
`----
|
||
|
||
x Text
|
||
,-[$DIR/tests/fixture/element/svg/input.html:116:25]
|
||
116 | ,-> <mo>−</mo>
|
||
117 | `-> <mn>1</mn>
|
||
`----
|
||
|
||
x Child
|
||
,-[$DIR/tests/fixture/element/svg/input.html:117:25]
|
||
117 | <mn>1</mn>
|
||
: ^^^^^
|
||
`----
|
||
|
||
x Element
|
||
,-[$DIR/tests/fixture/element/svg/input.html:117:25]
|
||
117 | <mn>1</mn>
|
||
: ^^^^^
|
||
`----
|
||
|
||
x Child
|
||
,-[$DIR/tests/fixture/element/svg/input.html:117:25]
|
||
117 | <mn>1</mn>
|
||
: ^
|
||
`----
|
||
|
||
x Text
|
||
,-[$DIR/tests/fixture/element/svg/input.html:117:25]
|
||
117 | <mn>1</mn>
|
||
: ^
|
||
`----
|
||
|
||
x Child
|
||
,-[$DIR/tests/fixture/element/svg/input.html:117:25]
|
||
117 | ,-> <mn>1</mn>
|
||
118 | `-> </msqrt>
|
||
`----
|
||
|
||
x Text
|
||
,-[$DIR/tests/fixture/element/svg/input.html:117:25]
|
||
117 | ,-> <mn>1</mn>
|
||
118 | `-> </msqrt>
|
||
`----
|
||
|
||
x Child
|
||
,-[$DIR/tests/fixture/element/svg/input.html:118:21]
|
||
118 | ,-> </msqrt>
|
||
119 | `-> </math>
|
||
`----
|
||
|
||
x Text
|
||
,-[$DIR/tests/fixture/element/svg/input.html:118:21]
|
||
118 | ,-> </msqrt>
|
||
119 | `-> </math>
|
||
`----
|
||
|
||
x Child
|
||
,-[$DIR/tests/fixture/element/svg/input.html:119:17]
|
||
119 | ,-> </math>
|
||
120 | `-> </foreignObject>
|
||
`----
|
||
|
||
x Text
|
||
,-[$DIR/tests/fixture/element/svg/input.html:119:17]
|
||
119 | ,-> </math>
|
||
120 | `-> </foreignObject>
|
||
`----
|
||
|
||
x Child
|
||
,-[$DIR/tests/fixture/element/svg/input.html:120:13]
|
||
120 | ,-> </foreignObject>
|
||
121 | `-> <text>\sqrt{2r - 1}</text>
|
||
`----
|
||
|
||
x Text
|
||
,-[$DIR/tests/fixture/element/svg/input.html:120:13]
|
||
120 | ,-> </foreignObject>
|
||
121 | `-> <text>\sqrt{2r - 1}</text>
|
||
`----
|
||
|
||
x Child
|
||
,-[$DIR/tests/fixture/element/svg/input.html:121:13]
|
||
121 | <text>\sqrt{2r - 1}</text>
|
||
: ^^^^^^^^^^^^^^^^^^^
|
||
`----
|
||
|
||
x Element
|
||
,-[$DIR/tests/fixture/element/svg/input.html:121:13]
|
||
121 | <text>\sqrt{2r - 1}</text>
|
||
: ^^^^^^^^^^^^^^^^^^^
|
||
`----
|
||
|
||
x Child
|
||
,-[$DIR/tests/fixture/element/svg/input.html:121:13]
|
||
121 | <text>\sqrt{2r - 1}</text>
|
||
: ^^^^^^^^^^^^^
|
||
`----
|
||
|
||
x Text
|
||
,-[$DIR/tests/fixture/element/svg/input.html:121:13]
|
||
121 | <text>\sqrt{2r - 1}</text>
|
||
: ^^^^^^^^^^^^^
|
||
`----
|
||
|
||
x Child
|
||
,-[$DIR/tests/fixture/element/svg/input.html:121:13]
|
||
121 | ,-> <text>\sqrt{2r - 1}</text>
|
||
122 | `-> </switch>
|
||
`----
|
||
|
||
x Text
|
||
,-[$DIR/tests/fixture/element/svg/input.html:121:13]
|
||
121 | ,-> <text>\sqrt{2r - 1}</text>
|
||
122 | `-> </switch>
|
||
`----
|
||
|
||
x Child
|
||
,-[$DIR/tests/fixture/element/svg/input.html:122:9]
|
||
122 | ,-> </switch>
|
||
123 | `-> </g>
|
||
`----
|
||
|
||
x Text
|
||
,-[$DIR/tests/fixture/element/svg/input.html:122:9]
|
||
122 | ,-> </switch>
|
||
123 | `-> </g>
|
||
`----
|
||
|
||
x Child
|
||
,-[$DIR/tests/fixture/element/svg/input.html:123:5]
|
||
123 | </g>
|
||
: ^
|
||
124 | </svg>
|
||
`----
|
||
|
||
x Text
|
||
,-[$DIR/tests/fixture/element/svg/input.html:123:5]
|
||
123 | </g>
|
||
: ^
|
||
124 | </svg>
|
||
`----
|
||
|
||
x Child
|
||
,-[$DIR/tests/fixture/element/svg/input.html:124:1]
|
||
124 | ,-> </svg>
|
||
125 | |
|
||
126 | `-> </body>
|
||
127 | </html>
|
||
`----
|
||
|
||
x Text
|
||
,-[$DIR/tests/fixture/element/svg/input.html:124:1]
|
||
124 | ,-> </svg>
|
||
125 | |
|
||
126 | `-> </body>
|
||
127 | </html>
|
||
`----
|