Comment.cpp 357 B

123456789101112131415161718192021
  1. /*
  2. * Copyright (c) 2018-2020, Andreas Kling <kling@serenityos.org>
  3. *
  4. * SPDX-License-Identifier: BSD-2-Clause
  5. */
  6. #include <LibWeb/DOM/Comment.h>
  7. #include <LibWeb/Layout/TextNode.h>
  8. namespace Web::DOM {
  9. Comment::Comment(Document& document, const String& data)
  10. : CharacterData(document, NodeType::COMMENT_NODE, data)
  11. {
  12. }
  13. Comment::~Comment()
  14. {
  15. }
  16. }