2015-05-03 19:32:37 +00:00
|
|
|
/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
|
|
|
/* vim: set ts=8 sts=2 et sw=2 tw=80: */
|
2013-01-04 17:02:15 +00:00
|
|
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
|
|
|
|
|
|
|
#include "mozilla/dom/HTMLSpanElement.h"
|
2013-01-04 17:02:15 +00:00
|
|
|
#include "mozilla/dom/HTMLSpanElementBinding.h"
|
|
|
|
|
2018-06-22 16:48:42 +00:00
|
|
|
#include "mozilla/MappedDeclarations.h"
|
2013-01-04 17:02:15 +00:00
|
|
|
#include "nsGkAtoms.h"
|
|
|
|
#include "nsStyleConsts.h"
|
2017-10-02 22:05:19 +00:00
|
|
|
#include "nsAtom.h"
|
2013-01-04 17:02:15 +00:00
|
|
|
|
|
|
|
NS_IMPL_NS_NEW_HTML_ELEMENT(Span)
|
|
|
|
|
|
|
|
namespace mozilla {
|
|
|
|
namespace dom {
|
|
|
|
|
2018-11-30 10:46:48 +00:00
|
|
|
HTMLSpanElement::~HTMLSpanElement() {}
|
2013-01-04 17:02:15 +00:00
|
|
|
|
|
|
|
NS_IMPL_ELEMENT_CLONE(HTMLSpanElement)
|
|
|
|
|
2018-11-30 10:46:48 +00:00
|
|
|
JSObject* HTMLSpanElement::WrapNode(JSContext* aCx,
|
|
|
|
JS::Handle<JSObject*> aGivenProto) {
|
2018-06-25 21:20:54 +00:00
|
|
|
return HTMLSpanElement_Binding::Wrap(aCx, this, aGivenProto);
|
2013-01-04 17:02:15 +00:00
|
|
|
}
|
|
|
|
|
2018-11-30 10:46:48 +00:00
|
|
|
} // namespace dom
|
|
|
|
} // namespace mozilla
|