mirror of
https://github.com/servo/servo.git
synced 2025-08-01 03:30:33 +01:00
script: Queue a mutation record from CharacterData::append_data.
This commit is contained in:
parent
c71fafaff7
commit
e4f978e215
2 changed files with 1 additions and 12 deletions
|
@ -64,6 +64,7 @@ impl CharacterData {
|
|||
|
||||
#[inline]
|
||||
pub fn append_data(&self, data: &str) {
|
||||
self.queue_mutation_record();
|
||||
self.data.borrow_mut().push_str(data);
|
||||
self.content_changed();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue