SVGTagList.h (3250B)
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/. */ 6 7 /****** 8 9 This file contains the list of all SVG tags. 10 11 It is designed to be used as inline input to SVGElementFactory.cpp 12 through the magic of C preprocessing. 13 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. 17 18 If you edit this list, you need to re-run ElementName.java 19 self-regeneration and the HTML parser Java to C++ translation. 20 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. 23 24 SVG_FROM_PARSER_TAG is used where the element creation method takes 25 a FromParser argument, and SVG_TAG where it does not. 26 27 It is recommended (but not strictly necessary) to keep all entries 28 in alphabetical order. 29 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 34 type. 35 36 ******/ 37 38 SVG_TAG(a, A) 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) 44 SVG_TAG(defs, Defs) 45 SVG_TAG(desc, Desc) 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) 74 SVG_TAG(g, G) 75 SVG_TAG(image, Image) 76 SVG_TAG(line, Line) 77 SVG_TAG(linearGradient, LinearGradient) 78 SVG_TAG(marker, Marker) 79 SVG_TAG(mask, Mask) 80 SVG_TAG(metadata, Metadata) 81 SVG_TAG(mpath, MPath) 82 SVG_TAG(path, Path) 83 SVG_TAG(pattern, Pattern) 84 SVG_TAG(polygon, Polygon) 85 SVG_TAG(polyline, Polyline) 86 SVG_TAG(radialGradient, RadialGradient) 87 SVG_TAG(rect, Rect) 88 SVG_FROM_PARSER_TAG(script, Script) 89 SVG_TAG(set, Set) 90 SVG_TAG(stop, Stop) 91 SVG_TAG(style, Style) 92 SVG_FROM_PARSER_TAG(svg, SVG) 93 SVG_TAG(svgSwitch, Switch) 94 SVG_TAG(symbol, Symbol) 95 SVG_TAG(text, Text) 96 SVG_TAG(textPath, TextPath) 97 SVG_TAG(title, Title) 98 SVG_TAG(tspan, TSpan) 99 SVG_TAG(use, Use) 100 SVG_TAG(view, View)