mirror of
https://github.com/servo/servo.git
synced 2025-10-16 16:29:18 +01:00
style: Rustfmt servo/. r=zrhoffman
$ find servo -name '*.rs' | xargs rustup run nightly rustfmt Depends on D179380 Differential Revision: https://phabricator.services.mozilla.com/D179381
This commit is contained in:
parent
68cbe6833d
commit
ad72081ac8
70 changed files with 665 additions and 448 deletions
|
@ -143,7 +143,11 @@ impl RestyleHint {
|
|||
/// be replaced.
|
||||
#[inline]
|
||||
pub fn has_animation_hint_or_recascade(&self) -> bool {
|
||||
self.intersects(Self::for_animations() | Self::RECASCADE_SELF | Self::RECASCADE_SELF_IF_INHERIT_RESET_STYLE)
|
||||
self.intersects(
|
||||
Self::for_animations() |
|
||||
Self::RECASCADE_SELF |
|
||||
Self::RECASCADE_SELF_IF_INHERIT_RESET_STYLE,
|
||||
)
|
||||
}
|
||||
|
||||
/// Returns whether the hint specifies some restyle work other than an
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue