LibWeb: Implement Range.deleteContents()

And here's another point on Acid3. :^)
This commit is contained in:
Andreas Kling 2022-03-22 20:17:52 +01:00
commit 2fb9eb5257
Notes: sideshowbarker 2024-07-17 22:41:14 +09:00
3 changed files with 69 additions and 0 deletions

View file

@ -61,6 +61,7 @@ public:
ExceptionOr<bool> is_point_in_range(Node const&, u32 offset) const;
ExceptionOr<i16> compare_point(Node const&, u32 offset) const;
ExceptionOr<void> delete_contents();
ExceptionOr<NonnullRefPtr<DocumentFragment>> extract_contents();
ExceptionOr<NonnullRefPtr<DocumentFragment>> clone_contents();