HTMLOptGroupElement.cpp 615 B

123456789101112131415161718192021222324252627
  1. /*
  2. * Copyright (c) 2020, the SerenityOS developers.
  3. *
  4. * SPDX-License-Identifier: BSD-2-Clause
  5. */
  6. #include <LibWeb/Bindings/Intrinsics.h>
  7. #include <LibWeb/HTML/HTMLOptGroupElement.h>
  8. namespace Web::HTML {
  9. JS_DEFINE_ALLOCATOR(HTMLOptGroupElement);
  10. HTMLOptGroupElement::HTMLOptGroupElement(DOM::Document& document, DOM::QualifiedName qualified_name)
  11. : HTMLElement(document, move(qualified_name))
  12. {
  13. }
  14. HTMLOptGroupElement::~HTMLOptGroupElement() = default;
  15. void HTMLOptGroupElement::initialize(JS::Realm& realm)
  16. {
  17. Base::initialize(realm);
  18. WEB_SET_PROTOTYPE_FOR_INTERFACE(HTMLOptGroupElement);
  19. }
  20. }