LibWeb: Make rendered_text_fragment return a DocumentFragment

This closer matches the spec and is needed in the implementation of the
innerText setter.
This commit is contained in:
Shannon Booth 2024-11-11 05:32:49 +13:00 committed by Alexander Kalenik
commit a1a740bb3e
Notes: github-actions[bot] 2024-11-10 20:32:26 +00:00
2 changed files with 13 additions and 8 deletions

View file

@ -97,7 +97,7 @@ private:
virtual void did_lose_focus() override;
[[nodiscard]] String get_the_text_steps();
void append_rendered_text_fragment(StringView input);
JS::NonnullGCPtr<DOM::DocumentFragment> rendered_text_fragment(StringView input);
JS::GCPtr<DOM::NodeList> m_labels;