Skip to content

Commit

Permalink
Fix expected txt for line height
Browse files Browse the repository at this point in the history
  • Loading branch information
rmg-x committed Jul 9, 2024
1 parent a7d5acc commit 0684c21
Showing 1 changed file with 16 additions and 8 deletions.
24 changes: 16 additions & 8 deletions Tests/LibWeb/Layout/expected/css-line-height-zero.txt
Original file line number Diff line number Diff line change
@@ -1,11 +1,19 @@
Viewport <#document> at (0,0) content-size 1575x938 [0+0+0 1575 0+0+0] [0+0+0 938 0+0+0] children: not-inline
BlockContainer <html> at (0,0) content-size 1575x39 [0+0+0 1575 0+0+0] [0+0+0 39 0+0+0] [BFC] children: not-inline
BlockContainer <body> at (8,8) content-size 1559x23 [8+0+0 1559 0+0+8] [8+0+0 23 0+0+8] children: inline
frag 0 from BlockContainer start: 0, length: 0, rect: [9,9 203.75x21] baseline: 15.03125
BlockContainer <input> at (9,9) content-size 203.75x21 inline-block [0+1+0 203.75 0+1+0] [0+1+0 21 0+1+0] [BFC] children: not-inline
Box <div> at (11,10) content-size 199.75x19 flex-container(row) [0+0+2 199.75 2+0+0] [0+0+1 19 1+0+0] [FFC] children: not-inline
BlockContainer <div> at (11,10) content-size 199.75x19 flex-item [0+0+0 199.75 0+0+0] [0+0+0 19 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 11, rect: [11,10 96.375x19] baseline: 15.03125
Viewport <#document> at (0,0) content-size 800x600 children: not-inline
BlockContainer <html> at (0,0) content-size 800x37 [BFC] children: not-inline
BlockContainer <body> at (8,8) content-size 784x21 children: inline
frag 0 from BlockContainer start: 0, length: 0, rect: [9,9 191.875x19] baseline: 13.296875
BlockContainer <input> at (9,9) content-size 191.875x19 inline-block [BFC] children: not-inline
Box <div> at (11,10) content-size 187.875x17 flex-container(row) [FFC] children: not-inline
BlockContainer <div> at (11,10) content-size 187.875x17 flex-item [BFC] children: inline
frag 0 from TextNode start: 0, length: 11, rect: [11,10 91.953125x17] baseline: 13.296875
"Hello World"
TextNode <#text>
TextNode <#text>

ViewportPaintable (Viewport<#document>) [0,0 800x600]
PaintableWithLines (BlockContainer<HTML>) [0,0 800x37]
PaintableWithLines (BlockContainer<BODY>) [8,8 784x21]
PaintableWithLines (BlockContainer<INPUT>) [8,8 193.875x21]
PaintableBox (Box<DIV>) [9,9 191.875x19]
PaintableWithLines (BlockContainer<DIV>) [11,10 187.875x17]
TextPaintable (TextNode<#text>)

0 comments on commit 0684c21

Please sign in to comment.