1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 03:37:45 +00:00

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
parent e1c71b3f91
commit 2fb9eb5257
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();