InnerHTML.h 470 B

12345678910111213141516171819
  1. /*
  2. * Copyright (c) 2021, Luke Wilde <lukew@serenityos.org>
  3. *
  4. * SPDX-License-Identifier: BSD-2-Clause
  5. */
  6. #pragma once
  7. #include <LibWeb/DOM/Element.h>
  8. #include <LibWeb/DOM/ExceptionOr.h>
  9. #include <LibWeb/DOM/ShadowRoot.h>
  10. #include <LibWeb/HTML/HTMLTemplateElement.h>
  11. namespace Web::DOMParsing {
  12. // https://w3c.github.io/DOM-Parsing/#dom-innerhtml-innerhtml
  13. DOM::ExceptionOr<void> inner_html_setter(NonnullRefPtr<DOM::Node> context_object, String const& value);
  14. }