mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
Make the initial viewport size available to style::properties::cascade
This commit is contained in:
parent
67548a6244
commit
00785ecf63
3 changed files with 30 additions and 16 deletions
|
@ -176,7 +176,8 @@ impl<'a> PreorderDomTraversal for RecalcStyleForNode<'a> {
|
|||
|
||||
// Perform the CSS cascade.
|
||||
unsafe {
|
||||
node.cascade_node(parent_opt,
|
||||
node.cascade_node(self.layout_context.shared,
|
||||
parent_opt,
|
||||
&applicable_declarations,
|
||||
self.layout_context.applicable_declarations_cache());
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue