mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
commit
c338dbe947
1 changed files with 1 additions and 0 deletions
|
@ -1478,6 +1478,7 @@ impl Node {
|
|||
// Step 1.
|
||||
match child.parent_node() {
|
||||
Some(ref node) if node != &Temporary::from_rooted(parent) => return Err(NotFound),
|
||||
None => return Err(NotFound),
|
||||
_ => ()
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue