mirror of
https://github.com/servo/servo.git
synced 2025-08-07 06:25:32 +01:00
Fix the rem unit.
(I think it’s never worked in over a year since it was implemented…)
This commit is contained in:
parent
78b16bcc1d
commit
54790d0ae5
3 changed files with 4 additions and 1 deletions
|
@ -6847,7 +6847,7 @@ pub fn cascade(viewport_size: Size2D<Au>,
|
|||
}
|
||||
|
||||
if is_root_element {
|
||||
context.root_font_size = context.font_size;
|
||||
style.root_font_size = context.font_size;
|
||||
}
|
||||
|
||||
if seen.get_font_style() || seen.get_font_weight() || seen.get_font_stretch() ||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue