1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-08 08:37:35 +00:00
serenity/Tests/LibWeb/Layout/expected/text-align-overflow.txt
FalseHonesty de9604212f LibWeb: Avoid text-aligning content that is too long for its line box
Previously, we would always respect the `text-align` property, even if
the text being aligned was too long for its line box and would be
clipped. This led to seeing the clipped middle/end of strings when we
should instead always see the beginning of the text.
2023-06-02 05:21:22 +02:00

9 lines
No EOL
660 B
Text

Viewport <#document> at (0,0) content-size 800x600 children: not-inline
BlockContainer <html> at (0,0) content-size 800x33.46875 [BFC] children: not-inline
BlockContainer <body> at (8,8) content-size 784x17.46875 children: not-inline
BlockContainer <div.outer> at (18,8) content-size 80x17.46875 children: not-inline
BlockContainer <span.text> at (18,8) content-size 80x17.46875 [BFC] children: inline
line 0 width: 189.875, height: 17.46875, bottom: 17.46875, baseline: 13.53125
frag 0 from TextNode start: 0, length: 22, rect: [18,8 189.875x17.46875]
"My super long message!"
TextNode <#text>