You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/__fixtures__/svg/index.json
+99-2Lines changed: 99 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -30,8 +30,8 @@
30
30
"type": "element",
31
31
"tagName": "svg",
32
32
"properties": {
33
-
"width": 230,
34
-
"height": 120,
33
+
"width": "230",
34
+
"height": "120",
35
35
"xmlns": "http://www.w3.org/2000/svg",
36
36
"xmlnsXLink": "http://www.w3.org/1999/xlink"
37
37
},
@@ -66,6 +66,103 @@
66
66
},
67
67
"children": []
68
68
},
69
+
{
70
+
"type": "text",
71
+
"value": "\n"
72
+
},
73
+
{
74
+
"type": "element",
75
+
"tagName": "switch",
76
+
"properties": {
77
+
"fill": "red"
78
+
},
79
+
"children": [
80
+
{
81
+
"type": "text",
82
+
"value": "\n"
83
+
},
84
+
{
85
+
"type": "element",
86
+
"tagName": "text",
87
+
"properties": {
88
+
"systemLanguage": [
89
+
"en"
90
+
]
91
+
},
92
+
"children": [
93
+
{
94
+
"type": "text",
95
+
"value": "en"
96
+
}
97
+
]
98
+
},
99
+
{
100
+
"type": "text",
101
+
"value": "\n"
102
+
},
103
+
{
104
+
"type": "element",
105
+
"tagName": "text",
106
+
"properties": {},
107
+
"children": [
108
+
{
109
+
"type": "text",
110
+
"value": "other"
111
+
}
112
+
]
113
+
},
114
+
{
115
+
"type": "text",
116
+
"value": "\n"
117
+
}
118
+
]
119
+
},
120
+
{
121
+
"type": "text",
122
+
"value": "\n"
123
+
},
124
+
{
125
+
"type": "element",
126
+
"tagName": "foreignObject",
127
+
"properties": {
128
+
"x": "20",
129
+
"y": "20",
130
+
"width": "160",
131
+
"height": "160"
132
+
},
133
+
"children": [
134
+
{
135
+
"type": "text",
136
+
"value": "\n"
137
+
},
138
+
{
139
+
"type": "comment",
140
+
"value": " In the context of SVG embedded in an HTML document, the XHTML\n namespace could be omitted, but it is mandatory in the context of an SVG\n document "
0 commit comments