mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Add is_connected flag to node and use it to replace most uses of is_in_doc
This commit is contained in:
parent
640fc04743
commit
441357b74e
29 changed files with 111 additions and 96 deletions
|
@ -1050,7 +1050,7 @@ fn inner_text_collection_steps<N: LayoutNode>(
|
|||
|
||||
// Step 3.
|
||||
let display = style.get_box().display;
|
||||
if !child.is_in_document() || display == Display::None {
|
||||
if !child.is_connected() || display == Display::None {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue