mirror of
https://github.com/servo/servo.git
synced 2025-07-10 08:53:41 +01:00
"above the root node" -> "below the root node"
This commit is contained in:
parent
b75dcc0f88
commit
5be187998f
1 changed files with 1 additions and 1 deletions
|
@ -603,7 +603,7 @@ impl FragmentBorderBoxIterator for ParentOffsetBorderBoxIterator {
|
||||||
} else if self.node_offset_box.is_none() {
|
} else if self.node_offset_box.is_none() {
|
||||||
// TODO(gw): Is there a less fragile way of checking whether this
|
// TODO(gw): Is there a less fragile way of checking whether this
|
||||||
// fragment is the body element, rather than just checking that
|
// fragment is the body element, rather than just checking that
|
||||||
// it's at level 1 (above the root node)?
|
// it's at level 1 (below the root node)?
|
||||||
let is_body_element = level == 1;
|
let is_body_element = level == 1;
|
||||||
|
|
||||||
let is_valid_parent = match (is_body_element,
|
let is_valid_parent = match (is_body_element,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue