mirror of
https://github.com/servo/servo.git
synced 2025-06-23 08:34:42 +01:00
Auto merge of #15913 - emilio:viewport-size, r=heycam,hiro
Use the proper viewport size for stylo Reviewed upstream at [bug 1303229](https://bugzil.la/1303229). <!-- 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/15913) <!-- Reviewable:end -->
This commit is contained in:
commit
06f99c13f2
12 changed files with 32 additions and 40 deletions
|
@ -539,7 +539,7 @@ trait PrivateMatchMethods: TElement {
|
|||
|
||||
// Invoke the cascade algorithm.
|
||||
let values =
|
||||
Arc::new(cascade(shared_context.viewport_size,
|
||||
Arc::new(cascade(shared_context.viewport_size(),
|
||||
rule_node,
|
||||
inherited_values,
|
||||
layout_parent_style,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue