mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-08 01:00:05 +00:00
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:
parent
dd11d48a1d
commit
a1a740bb3e
Notes:
github-actions[bot]
2024-11-10 20:32:26 +00:00
Author: https://github.com/shannonbooth
Commit: a1a740bb3e
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2272
2 changed files with 13 additions and 8 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue