ladybird/Tests/LibWeb/Layout/expected/text-align-justify-with-forced-break.txt
Andreas Kling 79d2c9f3e8 LibWeb: Don't justify text lines that end in a forced break
These are treated the same as the last line in a block, per CSS-TEXT-3.
2023-06-10 21:46:33 +02:00

75 lines
3.8 KiB
Text

Viewport <#document> at (0,0) content-size 800x600 children: not-inline
BlockContainer <html> at (0,0) content-size 800x118 [BFC] children: not-inline
BlockContainer <body> at (8,8) content-size 784x102 children: not-inline
BlockContainer <div> at (9,9) content-size 100x100 children: inline
line 0 width: 98, height: 17.46875, bottom: 17.46875, baseline: 13.53125
frag 0 from TextNode start: 1, length: 3, rect: [9,9 27.15625x17.46875]
"foo"
frag 1 from TextNode start: 4, length: 1, rect: [36,9 9x17.46875]
" "
frag 2 from TextNode start: 5, length: 3, rect: [45,9 27.640625x17.46875]
"bar"
frag 3 from TextNode start: 8, length: 1, rect: [73,9 9x17.46875]
" "
frag 4 from TextNode start: 9, length: 3, rect: [82,9 27.203125x17.46875]
"baz"
line 1 width: 98, height: 17.9375, bottom: 35.40625, baseline: 13.53125
frag 0 from TextNode start: 13, length: 3, rect: [9,26 27.15625x17.46875]
"foo"
frag 1 from TextNode start: 16, length: 1, rect: [36,26 8x17.46875]
" "
frag 2 from TextNode start: 17, length: 3, rect: [44,26 27.640625x17.46875]
"bar"
frag 3 from TextNode start: 20, length: 1, rect: [72,26 8x17.46875]
" "
frag 4 from TextNode start: 21, length: 3, rect: [80,26 27.203125x17.46875]
"baz"
line 2 width: 98, height: 18.40625, bottom: 53.34375, baseline: 13.53125
frag 0 from TextNode start: 1, length: 3, rect: [9,43 27.15625x17.46875]
"foo"
frag 1 from TextNode start: 4, length: 1, rect: [36,43 9x17.46875]
" "
frag 2 from TextNode start: 5, length: 3, rect: [45,43 27.640625x17.46875]
"bar"
frag 3 from TextNode start: 8, length: 1, rect: [73,43 9x17.46875]
" "
frag 4 from TextNode start: 9, length: 3, rect: [82,43 27.203125x17.46875]
"baz"
line 3 width: 98, height: 17.875, bottom: 70.28125, baseline: 13.53125
frag 0 from TextNode start: 13, length: 3, rect: [9,61 27.15625x17.46875]
"foo"
frag 1 from TextNode start: 16, length: 1, rect: [36,61 9x17.46875]
" "
frag 2 from TextNode start: 17, length: 3, rect: [45,61 27.640625x17.46875]
"bar"
frag 3 from TextNode start: 20, length: 1, rect: [73,61 9x17.46875]
" "
frag 4 from TextNode start: 21, length: 3, rect: [82,61 27.203125x17.46875]
"baz"
line 4 width: 98, height: 18.34375, bottom: 88.21875, baseline: 13.53125
frag 0 from TextNode start: 25, length: 3, rect: [9,78 27.15625x17.46875]
"foo"
frag 1 from TextNode start: 28, length: 1, rect: [36,78 8x17.46875]
" "
frag 2 from TextNode start: 29, length: 3, rect: [44,78 27.640625x17.46875]
"bar"
frag 3 from TextNode start: 32, length: 1, rect: [72,78 8x17.46875]
" "
frag 4 from TextNode start: 33, length: 3, rect: [80,78 27.203125x17.46875]
"baz"
line 5 width: 98, height: 17.8125, bottom: 105.15625, baseline: 13.53125
frag 0 from TextNode start: 1, length: 3, rect: [9,96 27.15625x17.46875]
"foo"
frag 1 from TextNode start: 4, length: 1, rect: [36,96 8x17.46875]
" "
frag 2 from TextNode start: 5, length: 3, rect: [44,96 27.640625x17.46875]
"bar"
frag 3 from TextNode start: 8, length: 1, rect: [72,96 8x17.46875]
" "
frag 4 from TextNode start: 9, length: 3, rect: [80,96 27.203125x17.46875]
"baz"
TextNode <#text>
BreakNode <br>
TextNode <#text>
BreakNode <br>
TextNode <#text>