mirror of
https://github.com/servo/servo.git
synced 2025-07-23 15:23:42 +01:00
Remove IS_CONNECTED flag when node is removed from the doc
This commit is contained in:
parent
d7b6a6f509
commit
39c96acbbe
1 changed files with 1 additions and 0 deletions
|
@ -355,6 +355,7 @@ impl Node {
|
|||
// Out-of-document elements never have the descendants flag set.
|
||||
node.set_flag(
|
||||
NodeFlags::IS_IN_DOC |
|
||||
NodeFlags::IS_CONNECTED |
|
||||
NodeFlags::HAS_DIRTY_DESCENDANTS |
|
||||
NodeFlags::HAS_SNAPSHOT |
|
||||
NodeFlags::HANDLED_SNAPSHOT,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue