mirror of
https://github.com/servo/servo.git
synced 2025-08-07 06:25:32 +01:00
Auto merge of #16981 - emilio:backdrop, r=heycam
Bug 1366427: Make backdrop not inherit from the parent element. r=heycam <!-- Reviewable:start --> This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/16981) <!-- Reviewable:end -->
This commit is contained in:
commit
17069f4876
3 changed files with 17 additions and 4 deletions
|
@ -628,7 +628,7 @@ impl Stylist {
|
|||
guards: &StylesheetGuards,
|
||||
element: &E,
|
||||
pseudo: &PseudoElement,
|
||||
parent: &Arc<ComputedValues>,
|
||||
parent_style: &ComputedValues,
|
||||
font_metrics: &FontMetricsProvider)
|
||||
-> Option<ComputedStyle>
|
||||
where E: TElement,
|
||||
|
@ -647,8 +647,8 @@ impl Stylist {
|
|||
properties::cascade(&self.device,
|
||||
&rule_node,
|
||||
guards,
|
||||
Some(&**parent),
|
||||
Some(&**parent),
|
||||
Some(parent_style),
|
||||
Some(parent_style),
|
||||
None,
|
||||
&RustLogReporter,
|
||||
font_metrics,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue