1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 19:47:46 +00:00

LibWeb: Add CharacterData.replaceData(offset, count, data)

Note that we don't queue mutation records or update live ranges yet,
I've left those as FIXMEs.
This commit is contained in:
Andreas Kling 2022-03-21 18:05:20 +01:00
parent e50c7de1b2
commit 24e25fe3d0
3 changed files with 42 additions and 0 deletions

View file

@ -7,6 +7,7 @@ interface CharacterData : Node {
readonly attribute unsigned long length;
DOMString substringData(unsigned long offset, unsigned long count);
undefined replaceData(unsigned long offset, unsigned long count, DOMString data);
readonly attribute Element? nextElementSibling;
readonly attribute Element? previousElementSibling;