mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
style: Fix container units on ::backdrop
Differential Revision: https://phabricator.services.mozilla.com/D165542
This commit is contained in:
parent
a685297bf3
commit
40f5dbb1ab
3 changed files with 22 additions and 2 deletions
|
@ -895,8 +895,9 @@ impl Stylist {
|
|||
},
|
||||
pseudo,
|
||||
guards,
|
||||
/* originating_element_style */ None,
|
||||
parent,
|
||||
None,
|
||||
/* element */ None,
|
||||
)
|
||||
}
|
||||
|
||||
|
@ -989,6 +990,7 @@ impl Stylist {
|
|||
cascade_inputs,
|
||||
pseudo,
|
||||
guards,
|
||||
Some(originating_element_style),
|
||||
Some(parent_style),
|
||||
Some(element),
|
||||
))
|
||||
|
@ -1003,6 +1005,7 @@ impl Stylist {
|
|||
inputs: CascadeInputs,
|
||||
pseudo: &PseudoElement,
|
||||
guards: &StylesheetGuards,
|
||||
originating_element_style: Option<&ComputedValues>,
|
||||
parent_style: Option<&ComputedValues>,
|
||||
element: Option<E>,
|
||||
) -> Arc<ComputedValues>
|
||||
|
@ -1026,6 +1029,7 @@ impl Stylist {
|
|||
Some(pseudo),
|
||||
inputs,
|
||||
guards,
|
||||
originating_element_style,
|
||||
parent_style,
|
||||
parent_style,
|
||||
parent_style,
|
||||
|
@ -1052,6 +1056,7 @@ impl Stylist {
|
|||
pseudo: Option<&PseudoElement>,
|
||||
inputs: CascadeInputs,
|
||||
guards: &StylesheetGuards,
|
||||
originating_element_style: Option<&ComputedValues>,
|
||||
parent_style: Option<&ComputedValues>,
|
||||
parent_style_ignoring_first_line: Option<&ComputedValues>,
|
||||
layout_parent_style: Option<&ComputedValues>,
|
||||
|
@ -1087,6 +1092,7 @@ impl Stylist {
|
|||
pseudo,
|
||||
inputs.rules.as_ref().unwrap_or(self.rule_tree.root()),
|
||||
guards,
|
||||
originating_element_style,
|
||||
parent_style,
|
||||
parent_style_ignoring_first_line,
|
||||
layout_parent_style,
|
||||
|
@ -1505,6 +1511,7 @@ impl Stylist {
|
|||
),
|
||||
)
|
||||
}),
|
||||
/* originating_element_style */ None,
|
||||
Some(parent_style),
|
||||
Some(parent_style),
|
||||
Some(parent_style),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue