File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -128,6 +128,9 @@ while (++index < rows2.length) {
128
128
}
129
129
}
130
130
131
+ // GITHUB ISSUE - Missing attributes in SVGSymbolElement https://github.com/w3c/svgwg/issues/803
132
+ map2 . symbol . add ( 'x' ) . add ( 'y' ) . add ( 'width' ) . add ( 'height' )
133
+
131
134
maps . push ( map2 )
132
135
133
136
/** @type {Set<string> } */
Original file line number Diff line number Diff line change @@ -3704,6 +3704,7 @@ export const svgElementAttributes = {
3704
3704
'font-weight' ,
3705
3705
'glyph-orientation-horizontal' ,
3706
3706
'glyph-orientation-vertical' ,
3707
+ 'height' ,
3707
3708
'image-rendering' ,
3708
3709
'kerning' ,
3709
3710
'letter-spacing' ,
@@ -3735,8 +3736,11 @@ export const svgElementAttributes = {
3735
3736
'unicode-bidi' ,
3736
3737
'viewBox' ,
3737
3738
'visibility' ,
3739
+ 'width' ,
3738
3740
'word-spacing' ,
3739
- 'writing-mode'
3741
+ 'writing-mode' ,
3742
+ 'x' ,
3743
+ 'y'
3740
3744
] ,
3741
3745
tbreak : [
3742
3746
'requiredExtensions' ,
You can’t perform that action at this time.
0 commit comments