mirror of
https://github.com/servo/servo.git
synced 2025-08-05 13:40:08 +01:00
geckolib: fix debug message about skipping traversal with an unstyled parent
This commit is contained in:
parent
2084ee29c4
commit
df3cbb8104
1 changed files with 1 additions and 1 deletions
|
@ -153,7 +153,7 @@ fn traverse_subtree(element: GeckoElement, raw_data: RawServoStyleSetBorrowed,
|
||||||
// servo to try to style it. Detect that here and bail out.
|
// servo to try to style it. Detect that here and bail out.
|
||||||
if let Some(parent) = element.parent_element() {
|
if let Some(parent) = element.parent_element() {
|
||||||
if parent.borrow_data().map_or(true, |d| d.styles().is_display_none()) {
|
if parent.borrow_data().map_or(true, |d| d.styles().is_display_none()) {
|
||||||
debug!("{:?} has unstyled parent - ignoring call to traverse_subtree", parent);
|
debug!("{:?} has unstyled parent {:?} - ignoring call to traverse_subtree", element, parent);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue