LCOV - code coverage report
Current view: top level - dom/html - HTMLSpanElement.h (source / functions) Hit Total Coverage
Test: output.info Lines: 3 3 100.0 %
Date: 2017-07-14 16:53:18 Functions: 1 1 100.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             : #ifndef mozilla_dom_HTMLSpanElement_h
       8             : #define mozilla_dom_HTMLSpanElement_h
       9             : 
      10             : #include "mozilla/Attributes.h"
      11             : #include "nsIDOMHTMLElement.h"
      12             : #include "nsGenericHTMLElement.h"
      13             : #include "nsGkAtoms.h"
      14             : #include "nsStyleConsts.h"
      15             : #include "nsIAtom.h"
      16             : #include "nsRuleData.h"
      17             : 
      18             : namespace mozilla {
      19             : namespace dom {
      20             : 
      21             : class HTMLSpanElement final : public nsGenericHTMLElement
      22             : {
      23             : public:
      24           8 :   explicit HTMLSpanElement(already_AddRefed<mozilla::dom::NodeInfo>& aNodeInfo)
      25           8 :     : nsGenericHTMLElement(aNodeInfo)
      26             :   {
      27           8 :   }
      28             : 
      29             :   virtual nsresult Clone(mozilla::dom::NodeInfo *aNodeInfo, nsINode **aResult,
      30             :                          bool aPreallocateChildren) const override;
      31             : 
      32             : protected:
      33             :   virtual ~HTMLSpanElement();
      34             : 
      35             :   virtual JSObject* WrapNode(JSContext *aCx, JS::Handle<JSObject*> aGivenProto) override;
      36             : };
      37             : 
      38             : } // namespace dom
      39             : } // namespace mozilla
      40             : 
      41             : #endif // mozilla_dom_HTMLSpanElement_h

Generated by: LCOV version 1.13