mirror of
https://github.com/servo/servo.git
synced 2025-08-04 05:00:08 +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]
|
#[inline]
|
||||||
pub fn append_data(&self, data: &str) {
|
pub fn append_data(&self, data: &str) {
|
||||||
|
self.queue_mutation_record();
|
||||||
self.data.borrow_mut().push_str(data);
|
self.data.borrow_mut().push_str(data);
|
||||||
self.content_changed();
|
self.content_changed();
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,12 +0,0 @@
|
||||||
[MutationObserver-characterData.html]
|
|
||||||
type: testharness
|
|
||||||
expected: TIMEOUT
|
|
||||||
[characterData Text.appendData: simple mutation]
|
|
||||||
expected: TIMEOUT
|
|
||||||
|
|
||||||
[characterData Text.appendData: empty string mutation]
|
|
||||||
expected: TIMEOUT
|
|
||||||
|
|
||||||
[characterData Text.appendData: null string mutation]
|
|
||||||
expected: TIMEOUT
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue