mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
parent
d9751c0fbb
commit
322daccb42
1 changed files with 1 additions and 0 deletions
|
@ -1478,6 +1478,7 @@ impl Node {
|
||||||
// Step 1.
|
// Step 1.
|
||||||
match child.parent_node() {
|
match child.parent_node() {
|
||||||
Some(ref node) if node != &Temporary::from_rooted(parent) => return Err(NotFound),
|
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