1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 08:37:46 +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

@ -24,6 +24,7 @@ interface Range : AbstractRange {
const unsigned short END_TO_START = 3;
short compareBoundaryPoints(unsigned short how, Range sourceRange);
[CEReactions] undefined deleteContents();
[CEReactions, NewObject] DocumentFragment extractContents();
[CEReactions, NewObject] DocumentFragment cloneContents();
[CEReactions] undefined insertNode(Node node);