mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
style: Refactor the cascade function.
The `cascade_primary_or_pseudo` function was nice when we shared more code, but right now I think it just makes it harder to understand what's going on.
This commit is contained in:
parent
8375319928
commit
e8d1c5316d
6 changed files with 72 additions and 94 deletions
|
@ -37,7 +37,7 @@ pub use gecko::restyle_damage::GeckoRestyleDamage as RestyleDamage;
|
|||
/// A type that represents the previous computed values needed for restyle
|
||||
/// damage calculation.
|
||||
#[cfg(feature = "servo")]
|
||||
pub type PreExistingComputedValues = ::stylearc::Arc<::properties::ServoComputedValues>;
|
||||
pub type PreExistingComputedValues = ::properties::ServoComputedValues;
|
||||
|
||||
/// A type that represents the previous computed values needed for restyle
|
||||
/// damage calculation.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue