mirror of
https://github.com/servo/servo.git
synced 2025-08-09 15:35:34 +01:00
Bug 1341083: Implement dynamic restyling for display: contents. r=heycam
MozReview-Commit-ID: KimTU2j4V4p Signed-off-by: Emilio Cobos Álvarez <emilio@crisal.io>
This commit is contained in:
parent
524ba6a442
commit
6875c65d37
11 changed files with 111 additions and 18 deletions
|
@ -492,6 +492,7 @@ impl Expression {
|
|||
is_root_element: false,
|
||||
viewport_size: device.au_viewport_size(),
|
||||
inherited_style: default_values,
|
||||
layout_parent_style: default_values,
|
||||
// This cloning business is kind of dumb.... It's because Context
|
||||
// insists on having an actual ComputedValues inside itself.
|
||||
style: default_values.clone(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue