mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
style: Cleanup the cascade a good bit.
This commit is contained in:
parent
b70cbeb84c
commit
e374a54050
20 changed files with 286 additions and 248 deletions
|
@ -229,9 +229,7 @@ impl Range<specified::Length> {
|
|||
// em units are relative to the initial font-size.
|
||||
let context = computed::Context {
|
||||
is_root_element: false,
|
||||
device: device,
|
||||
inherited_style: default_values,
|
||||
style: StyleBuilder::for_derived_style(device, default_values, None),
|
||||
builder: StyleBuilder::for_derived_style(device, default_values, None, None),
|
||||
// Servo doesn't support font metrics
|
||||
// A real provider will be needed here once we do; since
|
||||
// ch units can exist in media queries.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue