mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
Do not set dirty out-of-doc nodes
This commit is contained in:
parent
e66438de48
commit
d7b6a6f509
5 changed files with 15 additions and 3 deletions
|
@ -644,7 +644,7 @@ impl Document {
|
|||
}
|
||||
|
||||
pub fn content_and_heritage_changed(&self, node: &Node) {
|
||||
if node.is_connected() {
|
||||
if node.is_in_doc() {
|
||||
node.note_dirty_descendants();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue