servo/components/layout_thread
Martin Robinson bf3798bbde
layout: More conservatively replace Stylist's Device (#31857)
Instead of replacing Stylist's device on every reflow, only replace it
when the viewport changes. In addition, preserve the root font size from
the previous reflow fixing an issue where `rem` units were not properly
computed between reflows.

This fixes a bug where fonts that are sized using `rem` units change
size on reload.
2024-03-26 15:00:50 +00:00
..
Cargo.toml Move Stylo to its own repo (#31350) 2024-02-27 15:39:06 +00:00
lib.rs layout: More conservatively replace Stylist's Device (#31857) 2024-03-26 15:00:50 +00:00