LCOV - code coverage report
Current view: top level - dom/svg - SVGTSpanElement.cpp (source / functions) Hit Total Coverage
Test: output.info Lines: 0 14 0.0 %
Date: 2017-07-14 16:53:18 Functions: 0 7 0.0 %
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             : #include "mozilla/dom/SVGTSpanElement.h"
       8             : #include "mozilla/dom/SVGTSpanElementBinding.h"
       9             : 
      10           0 : NS_IMPL_NS_NEW_NAMESPACED_SVG_ELEMENT(TSpan)
      11             : 
      12             : namespace mozilla {
      13             : namespace dom {
      14             : 
      15             : JSObject*
      16           0 : SVGTSpanElement::WrapNode(JSContext *aCx, JS::Handle<JSObject*> aGivenProto)
      17             : {
      18           0 :   return SVGTSpanElementBinding::Wrap(aCx, this, aGivenProto);
      19             : }
      20             : 
      21             : 
      22             : //----------------------------------------------------------------------
      23             : // Implementation
      24             : 
      25           0 : SVGTSpanElement::SVGTSpanElement(already_AddRefed<mozilla::dom::NodeInfo>& aNodeInfo)
      26           0 :   : SVGTSpanElementBase(aNodeInfo)
      27             : {
      28           0 : }
      29             : 
      30             : nsSVGElement::EnumAttributesInfo
      31           0 : SVGTSpanElement::GetEnumInfo()
      32             : {
      33             :   return EnumAttributesInfo(mEnumAttributes, sEnumInfo,
      34           0 :                             ArrayLength(sEnumInfo));
      35             : }
      36             : 
      37             : nsSVGElement::LengthAttributesInfo
      38           0 : SVGTSpanElement::GetLengthInfo()
      39             : {
      40             :   return LengthAttributesInfo(mLengthAttributes, sLengthInfo,
      41           0 :                               ArrayLength(sLengthInfo));
      42             : }
      43             : 
      44             : //----------------------------------------------------------------------
      45             : // nsIDOMNode methods
      46             : 
      47             : 
      48           0 : NS_IMPL_ELEMENT_CLONE_WITH_INIT(SVGTSpanElement)
      49             : 
      50             : //----------------------------------------------------------------------
      51             : // nsIContent methods
      52             : 
      53             : NS_IMETHODIMP_(bool)
      54           0 : SVGTSpanElement::IsAttributeMapped(const nsIAtom* name) const
      55             : {
      56             :   static const MappedAttributeEntry* const map[] = {
      57             :     sColorMap,
      58             :     sFillStrokeMap,
      59             :     sFontSpecificationMap,
      60             :     sGraphicsMap,
      61             :     sTextContentElementsMap
      62             :   };
      63             : 
      64           0 :   return FindAttributeDependence(name, map) ||
      65           0 :     SVGTSpanElementBase::IsAttributeMapped(name);
      66             : }
      67             : 
      68             : } // namespace dom
      69             : } // namespace mozilla

Generated by: LCOV version 1.13