mirror of
https://github.com/servo/servo.git
synced 2025-08-07 14:35:33 +01:00
style: Minor reformatting.
MozReview-Commit-ID: KVCfX3LqccF
This commit is contained in:
parent
689ee54db3
commit
55d9151dd3
2 changed files with 19 additions and 13 deletions
|
@ -480,9 +480,11 @@ pub trait TElement : Eq + PartialEq + Debug + Hash + Sized + Copy + Clone +
|
|||
}
|
||||
|
||||
/// Returns whether the element's styles are up-to-date for |traversal_flags|.
|
||||
fn has_current_styles_for_traversal(&self,
|
||||
data: &ElementData,
|
||||
traversal_flags: TraversalFlags) -> bool {
|
||||
fn has_current_styles_for_traversal(
|
||||
&self,
|
||||
data: &ElementData,
|
||||
traversal_flags: TraversalFlags,
|
||||
) -> bool {
|
||||
if traversal_flags.for_animation_only() {
|
||||
// In animation-only restyle we never touch snapshots and don't
|
||||
// care about them. But we can't assert '!self.handled_snapshot()'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue