@@ -500,8 +500,10 @@ macro_rules! make_tags {
500
500
}
501
501
}
502
502
503
- /// Comprehensive list: https://developer.mozilla.org/en-US/docs/Web/HTML/Element
504
- /// Grouped here by category on Mozilla's page, linked above.
503
+ /// Comprehensive lists:
504
+ /// - https://developer.mozilla.org/en-US/docs/Web/HTML/Element
505
+ /// - https://developer.mozilla.org/en-US/docs/Web/SVG/Element
506
+ /// Grouped here by category on Mozilla's pages, linked above.
505
507
make_tags ! {
506
508
Address => "address" , Article => "article" , Aside => "aside" , Footer => "footer" ,
507
509
Header => "header" , H1 => "h1" ,
@@ -539,7 +541,81 @@ make_tags! {
539
541
540
542
Content => "content" , Element => "element" , Shadow => "shadow" , Slot => "slot" , Template => "template" ,
541
543
542
- Svg => "svg" , Line => "line" , Rect => "rect" , Circle => "circle"
544
+ // -------- SVG Tags -------- //
545
+
546
+ // Animation elements
547
+ Animate => "animate" , AnimateColor => "animateColor" , AnimateMotion => "animateMotion" ,
548
+ AnimateTransform => "animateTransform" , Discard => "discard" , Mpath => "mpath" , Set => "set" ,
549
+
550
+ // Shape elements
551
+ Circle => "circle" , Ellipse => "ellipse" , Line => "line" , Polygon => "polygon" ,
552
+ Polyline => "polyline" , Rect => "rect" , Mesh => "mesh" , Path => "path" ,
553
+
554
+ // Container elements
555
+ Defs => "defs" , G => "g" , Marker => "marker" , Mask => "mask" , MissingGlyph => "missing-glyph" ,
556
+ Pattern => "pattern" , Svg => "svg" , Switch => "switch" , Symbol => "symbol" , Unknown => "unknown" ,
557
+
558
+ // Descriptive elements
559
+ Desc => "desc" , Metadata => "metadata" , Title => "title" ,
560
+
561
+ // Filter primitive elements
562
+ FeBlend => "feBlend" ,
563
+ FeColorMatrix => "feColorMatrix" ,
564
+ FeComponentTransfer => "feComponentTransfer" ,
565
+ FeComposite => "feComposite" ,
566
+ FeConvolveMatrix => "feConvolveMatrix" ,
567
+ FeDiffuseLighting => "feDiffuseLighting" ,
568
+ FeDisplacementMap => "feDisplacementMap" ,
569
+ FeDropShadow => "feDropShadow" ,
570
+ FeFlood => "feFlood" ,
571
+ FeFuncA => "feFuncA" ,
572
+ FeFuncB => "feFuncB" ,
573
+ FeFuncG => "feFuncG" ,
574
+ FeFuncR => "feFuncR" ,
575
+ FeGaussianBlur => "feGaussianBlur" ,
576
+ FeImage => "feImage" ,
577
+ FeMerge => "feMerge" ,
578
+ FeMergeNode => "feMergeNode" ,
579
+ FeMorphology => "feMorphology" ,
580
+ FeOffset => "feOffset" ,
581
+ FeSpecularLighting => "feSpecularLighting" ,
582
+ FeTile => "feTile" ,
583
+ FeTurbulence => "feTurbulence" ,
584
+
585
+ // Light source elements
586
+ FeDistantLight => "feDistantLight" , FePointLight => "fePointLight" , FeSpotLight => "feSpotLight" ,
587
+
588
+ // Font elements
589
+ Font => "font" ,
590
+ FontFace => "font-face" ,
591
+ FontFaceFormat => "font-face-format" ,
592
+ FontFaceName => "font-face-name" ,
593
+ FontFaceSrc => "font-face-src" ,
594
+ FontFaceUri => "font-face-uri" ,
595
+ HKern => "hkern" ,
596
+ VKern => "vkern" ,
597
+
598
+ // Gradient elements
599
+ LinearGradient => "linearGradient" , MeshGradient => "meshGradient" ,
600
+ RadialGradient => "radialGradient" , Stop => "stop" ,
601
+
602
+ // Graphics elements
603
+ Image => "image" ,
604
+
605
+ // Graphics referencing elements
606
+ Use => "use" ,
607
+
608
+ // Paint server elements
609
+ Hatch => "hatch" , SolidColor => "solidcolor" ,
610
+
611
+ // Text content elements
612
+ AltGlyph => "altGlyph" , AltGlyphDef => "altGlyphDef" , AltGlyphItem => "altGlyphItem" , Glyph => "glyph" ,
613
+ GlyphRef => "glyphRef" , TextPath => "textPath" , Text => "text" , TRef => "tref" , TSpan => "tspan" ,
614
+
615
+ // Uncategorized elements
616
+ ClipPath => "clipPath" , ColorProfile => "color-profile" , Cursor => "cursor" , Filter => "filter" ,
617
+ ForeignObject => "foreignObject" , HatchPath => "hatchpath" , MeshPatch => "meshpatch" , MeshRow => "meshrow" ,
618
+ Style => "style" , View => "view"
543
619
}
544
620
545
621
/// An component in our virtual DOM.
0 commit comments