mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
stylo: Switch Gecko over to ServoStyleContext
This commit is contained in:
parent
74519cc1a7
commit
89930e7565
19 changed files with 4479 additions and 2353 deletions
|
@ -1119,7 +1119,7 @@ impl BaseFlow {
|
|||
///
|
||||
/// These flags are initially set during flow construction. They only need to be updated here
|
||||
/// if they are based on properties that can change without triggering `RECONSTRUCT_FLOW`.
|
||||
pub fn update_flags_if_needed(&mut self, style: &ServoComputedValues) {
|
||||
pub fn update_flags_if_needed(&mut self, style: &ComputedValues) {
|
||||
// For absolutely-positioned flows, changes to top/bottom/left/right can cause these flags
|
||||
// to get out of date:
|
||||
if self.restyle_damage.contains(REFLOW_OUT_OF_FLOW) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue