LCOV - code coverage report
Current view: top level - dom/svg - SVGTagList.h (source / functions) Hit Total Coverage
Test: output.info Lines: 63 63 100.0 %
Date: 2017-07-14 16:53:18 Functions: 12 61 19.7 %
Legend: Lines: hit not hit

          Line data    Source code
       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             :   *only* through the magic of C preprocessing.
      13             : 
      14             :   All entries must be enclosed in the macro SVG_TAG or SVG_FROM_PARSER_TAG
      15             :   which will have cruel and unusual things done to them.
      16             : 
      17             :   SVG_FROM_PARSER_TAG is used where the element creation method takes
      18             :   a FromParser argument, and SVG_TAG where it does not.
      19             : 
      20             :   It is recommended (but not strictly necessary) to keep all entries
      21             :   in alphabetical order.
      22             : 
      23             :   The first argument to SVG_TAG is both the enum identifier of the
      24             :   property and the atom name. The second argument is the "creator"
      25             :   method of the form NS_New$TAGNAMEElement, that will be used by
      26             :   SVGElementFactory.cpp to create a content object for a tag of that
      27             :   type.
      28             : 
      29             :  ******/
      30             : 
      31           3 : SVG_TAG(a, A)
      32           3 : SVG_TAG(animate, Animate)
      33           3 : SVG_TAG(animateMotion, AnimateMotion)
      34           3 : SVG_TAG(animateTransform, AnimateTransform)
      35           5 : SVG_TAG(circle, Circle)
      36           9 : SVG_TAG(clipPath, ClipPath)
      37           8 : SVG_TAG(defs, Defs)
      38           3 : SVG_TAG(desc, Desc)
      39           3 : SVG_TAG(ellipse, Ellipse)
      40           3 : SVG_TAG(feBlend, FEBlend)
      41           3 : SVG_TAG(feColorMatrix, FEColorMatrix)
      42           3 : SVG_TAG(feComponentTransfer, FEComponentTransfer)
      43           3 : SVG_TAG(feComposite, FEComposite)
      44           3 : SVG_TAG(feConvolveMatrix, FEConvolveMatrix)
      45           3 : SVG_TAG(feDiffuseLighting, FEDiffuseLighting)
      46           3 : SVG_TAG(feDisplacementMap, FEDisplacementMap)
      47           3 : SVG_TAG(feDistantLight, FEDistantLight)
      48           3 : SVG_TAG(feDropShadow, FEDropShadow)
      49           3 : SVG_TAG(feFlood, FEFlood)
      50           3 : SVG_TAG(feFuncA, FEFuncA)
      51           3 : SVG_TAG(feFuncB, FEFuncB)
      52           3 : SVG_TAG(feFuncG, FEFuncG)
      53           3 : SVG_TAG(feFuncR, FEFuncR)
      54           3 : SVG_TAG(feGaussianBlur, FEGaussianBlur)
      55           3 : SVG_TAG(feImage, FEImage)
      56           3 : SVG_TAG(feMerge, FEMerge)
      57           3 : SVG_TAG(feMergeNode, FEMergeNode)
      58           3 : SVG_TAG(feMorphology, FEMorphology)
      59           3 : SVG_TAG(feOffset, FEOffset)
      60           3 : SVG_TAG(fePointLight, FEPointLight)
      61           3 : SVG_TAG(feSpecularLighting, FESpecularLighting)
      62           3 : SVG_TAG(feSpotLight, FESpotLight)
      63           3 : SVG_TAG(feTile, FETile)
      64           3 : SVG_TAG(feTurbulence, FETurbulence)
      65           3 : SVG_TAG(filter, Filter)
      66           5 : SVG_TAG(foreignObject, ForeignObject)
      67          15 : SVG_TAG(g, G)
      68           3 : SVG_TAG(image, Image)
      69           5 : SVG_TAG(line, Line)
      70           3 : SVG_TAG(linearGradient, LinearGradient)
      71           3 : SVG_TAG(marker, Marker)
      72           5 : SVG_TAG(mask, Mask)
      73           3 : SVG_TAG(metadata, Metadata)
      74           3 : SVG_TAG(mpath, MPath)
      75          38 : SVG_TAG(path, Path)
      76           3 : SVG_TAG(pattern, Pattern)
      77           5 : SVG_TAG(polygon, Polygon)
      78           3 : SVG_TAG(polyline, Polyline)
      79           3 : SVG_TAG(radialGradient, RadialGradient)
      80          12 : SVG_TAG(rect, Rect)
      81           3 : SVG_FROM_PARSER_TAG(script, Script)
      82           3 : SVG_TAG(set, Set)
      83           3 : SVG_TAG(stop, Stop)
      84           8 : SVG_TAG(style, Style)
      85           3 : SVG_FROM_PARSER_TAG(svg, SVG)
      86           3 : SVG_TAG(svgSwitch, Switch)
      87           3 : SVG_TAG(symbol, Symbol)
      88           3 : SVG_TAG(text, Text)
      89           3 : SVG_TAG(textPath, TextPath)
      90           3 : SVG_TAG(title, Title)
      91           3 : SVG_TAG(tspan, TSpan)
      92          32 : SVG_TAG(use, Use)
      93           3 : SVG_TAG(view, View)

Generated by: LCOV version 1.13