HTMLDataElement.cpp 556 B

1234567891011121314151617181920
  1. /*
  2. * Copyright (c) 2020, the SerenityOS developers.
  3. *
  4. * SPDX-License-Identifier: BSD-2-Clause
  5. */
  6. #include <LibWeb/Bindings/HTMLDataElementPrototype.h>
  7. #include <LibWeb/HTML/HTMLDataElement.h>
  8. #include <LibWeb/HTML/Window.h>
  9. namespace Web::HTML {
  10. HTMLDataElement::HTMLDataElement(DOM::Document& document, DOM::QualifiedName qualified_name)
  11. : HTMLElement(document, move(qualified_name))
  12. {
  13. set_prototype(&window().ensure_web_prototype<Bindings::HTMLDataElementPrototype>("HTMLDataElement"));
  14. }
  15. HTMLDataElement::~HTMLDataElement() = default;
  16. }