1 /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* vim: set ts=8 sts=2 et sw=2 tw=80: */
3 /* This Source Code Form is subject to the terms of the Mozilla Public
4 * License, v. 2.0. If a copy of the MPL was not distributed with this
5 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
9 This file contains the list of all SVG tags.
11 It is designed to be used as inline input to SVGElementFactory.cpp
12 through the magic of C preprocessing.
14 Additionally, it is consumed by the self-regeneration code in
15 ElementName.java from which nsHtml5ElementName.cpp/h is translated.
16 See parser/html/java/README.txt.
18 If you edit this list, you need to re-run ElementName.java
19 self-regeneration and the HTML parser Java to C++ translation.
21 All entries must be enclosed in the macro SVG_TAG or SVG_FROM_PARSER_TAG
22 which will have cruel and unusual things done to them.
24 SVG_FROM_PARSER_TAG is used where the element creation method takes
25 a FromParser argument, and SVG_TAG where it does not.
27 It is recommended (but not strictly necessary) to keep all entries
28 in alphabetical order.
30 The first argument to SVG_TAG is both the enum identifier of the
31 property and the atom name. The second argument is the "creator"
32 method of the form NS_New$TAGNAMEElement, that will be used by
33 SVGElementFactory.cpp to create a content object for a tag of that
39 SVG_TAG(animate
, Animate
)
40 SVG_TAG(animateMotion
, AnimateMotion
)
41 SVG_TAG(animateTransform
, AnimateTransform
)
42 SVG_TAG(circle
, Circle
)
43 SVG_TAG(clipPath
, ClipPath
)
46 SVG_TAG(ellipse
, Ellipse
)
47 SVG_TAG(feBlend
, FEBlend
)
48 SVG_TAG(feColorMatrix
, FEColorMatrix
)
49 SVG_TAG(feComponentTransfer
, FEComponentTransfer
)
50 SVG_TAG(feComposite
, FEComposite
)
51 SVG_TAG(feConvolveMatrix
, FEConvolveMatrix
)
52 SVG_TAG(feDiffuseLighting
, FEDiffuseLighting
)
53 SVG_TAG(feDisplacementMap
, FEDisplacementMap
)
54 SVG_TAG(feDistantLight
, FEDistantLight
)
55 SVG_TAG(feDropShadow
, FEDropShadow
)
56 SVG_TAG(feFlood
, FEFlood
)
57 SVG_TAG(feFuncA
, FEFuncA
)
58 SVG_TAG(feFuncB
, FEFuncB
)
59 SVG_TAG(feFuncG
, FEFuncG
)
60 SVG_TAG(feFuncR
, FEFuncR
)
61 SVG_TAG(feGaussianBlur
, FEGaussianBlur
)
62 SVG_TAG(feImage
, FEImage
)
63 SVG_TAG(feMerge
, FEMerge
)
64 SVG_TAG(feMergeNode
, FEMergeNode
)
65 SVG_TAG(feMorphology
, FEMorphology
)
66 SVG_TAG(feOffset
, FEOffset
)
67 SVG_TAG(fePointLight
, FEPointLight
)
68 SVG_TAG(feSpecularLighting
, FESpecularLighting
)
69 SVG_TAG(feSpotLight
, FESpotLight
)
70 SVG_TAG(feTile
, FETile
)
71 SVG_TAG(feTurbulence
, FETurbulence
)
72 SVG_TAG(filter
, Filter
)
73 SVG_TAG(foreignObject
, ForeignObject
)
77 SVG_TAG(linearGradient
, LinearGradient
)
78 SVG_TAG(marker
, Marker
)
80 SVG_TAG(metadata
, Metadata
)
83 SVG_TAG(pattern
, Pattern
)
84 SVG_TAG(polygon
, Polygon
)
85 SVG_TAG(polyline
, Polyline
)
86 SVG_TAG(radialGradient
, RadialGradient
)
88 SVG_FROM_PARSER_TAG(script
, Script
)
92 SVG_FROM_PARSER_TAG(svg
, SVG
)
93 SVG_TAG(svgSwitch
, Switch
)
94 SVG_TAG(symbol
, Symbol
)
96 SVG_TAG(textPath
, TextPath
)