1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 13:28:11 +00:00
serenity/Tests/LibWeb/Layout/input/font-fractional-size.html
Andreas Kling 23569f8690 LibWeb: Allow fractional font sizes in CSS
Fixes an issue where relative font sizes would "snap" to integer sizes
in an unpleasant-looking way while resizing on some websites.
2023-09-15 18:26:37 +02:00

8 lines
183 B
HTML

<!doctype html><style>
.a { font-size: 20.5px; }
.b { font-size: 21px; }
.c { font-size: 21.5px; }
</style>
<span class="a">x</span>
<span class="b">x</span>
<span class="c">x</span>