HTMLTableCaptionElement.cpp 621 B

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