mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 16:17:45 +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:
parent
e50c7de1b2
commit
24e25fe3d0
3 changed files with 42 additions and 0 deletions
|
@ -28,6 +28,7 @@ public:
|
|||
unsigned length() const { return m_data.length(); }
|
||||
|
||||
ExceptionOr<String> substring_data(size_t offset, size_t count) const;
|
||||
ExceptionOr<void> replace_data(size_t offset, size_t count, String const&);
|
||||
|
||||
protected:
|
||||
explicit CharacterData(Document&, NodeType, const String&);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue