mirror of
https://github.com/servo/servo.git
synced 2025-08-07 14:35:33 +01:00
style: Push visited style computation a bit further down.
Bug: 1474959 Reviewed-by: xidorn MozReview-Commit-ID: 1DILenWIw4D
This commit is contained in:
parent
45435a57e9
commit
4e1606bfaf
6 changed files with 155 additions and 140 deletions
|
@ -9,7 +9,7 @@ use bezier::Bezier;
|
|||
use context::SharedStyleContext;
|
||||
use dom::{OpaqueNode, TElement};
|
||||
use font_metrics::FontMetricsProvider;
|
||||
use properties::{self, CascadeFlags, ComputedValues, LonghandId};
|
||||
use properties::{self, CascadeMode, ComputedValues, LonghandId};
|
||||
use properties::animated_properties::AnimatedProperty;
|
||||
use properties::longhands::animation_direction::computed_value::single_value::T as AnimationDirection;
|
||||
use properties::longhands::animation_play_state::computed_value::single_value::T as AnimationPlayState;
|
||||
|
@ -504,9 +504,8 @@ where
|
|||
Some(previous_style),
|
||||
Some(previous_style),
|
||||
Some(previous_style),
|
||||
/* visited_style = */ None,
|
||||
font_metrics_provider,
|
||||
CascadeFlags::empty(),
|
||||
CascadeMode::Unvisited { visited_rules: None },
|
||||
context.quirks_mode(),
|
||||
/* rule_cache = */ None,
|
||||
&mut Default::default(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue