mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-19 08:15:31 +00:00
Bug 1593642 - Rustfmt recent changes.
Differential Revision: https://phabricator.services.mozilla.com/D51584 --HG-- extra : moz-landing-system : lando
This commit is contained in:
parent
2e26c4e5a1
commit
63fd83beea
@ -497,8 +497,8 @@ pub fn recalc_style_at<E, D, F>(
|
||||
!child_cascade_requirement.can_skip_cascade() ||
|
||||
is_servo_nonincremental_layout();
|
||||
|
||||
traverse_children = traverse_children &&
|
||||
!traversal.should_cull_subtree(context, element, &data);
|
||||
traverse_children =
|
||||
traverse_children && !traversal.should_cull_subtree(context, element, &data);
|
||||
|
||||
// Examine our children, and enqueue the appropriate ones for traversal.
|
||||
if traverse_children {
|
||||
|
@ -183,7 +183,10 @@ impl Number {
|
||||
value: CSSFloat,
|
||||
calc_clamping_mode: Option<AllowedNumericType>,
|
||||
) -> Self {
|
||||
Self { value, calc_clamping_mode }
|
||||
Self {
|
||||
value,
|
||||
calc_clamping_mode,
|
||||
}
|
||||
}
|
||||
|
||||
/// Returns this percentage as a number.
|
||||
|
Loading…
Reference in New Issue
Block a user