LibWeb: Fully implement the fragment serializing algorithm

Rather than assuming the node's node document is an HTML document,
handle XML documents as well.
This commit is contained in:
Timothy Flynn 2022-11-02 19:14:27 -04:00 committed by Linus Groh
commit 13b8eeff54
Notes: sideshowbarker 2024-07-17 07:16:27 +09:00
7 changed files with 19 additions and 13 deletions

View file

@ -28,7 +28,7 @@ public:
// NOTE: This is intended for the JS bindings.
String mode() const { return m_closed ? "closed" : "open"; }
String inner_html() const;
WebIDL::ExceptionOr<String> inner_html() const;
WebIDL::ExceptionOr<void> set_inner_html(String const&);
private: