mirror of
https://github.com/servo/servo.git
synced 2025-08-14 09:55:35 +01:00
parent
35028f8f60
commit
16e318d055
20 changed files with 188 additions and 58 deletions
|
@ -325,7 +325,7 @@ impl Stylist {
|
|||
// the actual used value, and the computed value of it would need
|
||||
// blockification.
|
||||
let computed =
|
||||
properties::cascade(self.device.au_viewport_size(),
|
||||
properties::cascade(&self.device,
|
||||
&rule_node,
|
||||
parent.map(|p| &**p),
|
||||
parent.map(|p| &**p),
|
||||
|
@ -410,7 +410,7 @@ impl Stylist {
|
|||
// (tl;dr: It doesn't apply for replaced elements and such, but the
|
||||
// computed value is still "contents").
|
||||
let computed =
|
||||
properties::cascade(self.device.au_viewport_size(),
|
||||
properties::cascade(&self.device,
|
||||
&rule_node,
|
||||
Some(&**parent),
|
||||
Some(&**parent),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue