mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 23:27:35 +00:00
LibWeb: Use PaintableFragment::baseline() in paint_text_decoration()
No need to calculate baseline based on glyph height when we can get this information from a fragment.
This commit is contained in:
parent
1c4ce2c5f1
commit
d5e3158cfe
4 changed files with 49 additions and 1 deletions
BIN
Tests/LibWeb/Ref/reference/images/text-decorations.png
Normal file
BIN
Tests/LibWeb/Ref/reference/images/text-decorations.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.7 KiB |
Loading…
Add table
Add a link
Reference in a new issue