mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Manual fixups so that the rustfmt output won't trigger tidy.
This commit is contained in:
parent
b292f78363
commit
f7ae1a37e3
40 changed files with 443 additions and 416 deletions
|
@ -259,10 +259,9 @@ pub trait DomTraversal<E: TElement> : Sync {
|
|||
parent_data: &ElementData,
|
||||
is_initial_style: bool,
|
||||
) -> bool {
|
||||
debug_assert!(parent.has_current_styles_for_traversal(
|
||||
parent_data,
|
||||
context.shared.traversal_flags,
|
||||
));
|
||||
debug_assert!(
|
||||
parent.has_current_styles_for_traversal(parent_data, context.shared.traversal_flags)
|
||||
);
|
||||
|
||||
// If the parent computed display:none, we don't style the subtree.
|
||||
if parent_data.styles.is_display_none() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue