ladybird/Tests/LibWeb/Text/expected/css/font-size-rem-units-on-root-element.txt
Andreas Kling 02a642b87b LibWeb: Prevent infinitely growing font size due to rem units in root
A font-size with rem units need to resolve against the default font
metrics for the root element, otherwise every time we compute style,
the reference value for rem units grows.

This fixes an issue where text on some web pages would grow every time
there was a relayout. This was very noticeable on https://proton.me/

Fixes #339
2025-03-05 22:46:06 +01:00

4 lines
40 B
Text

68.6875px
68.6875px
68.6875px
68.6875px