mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 18:57:35 +00:00
LibWeb: Add support for grid item's min-height and max-height in GFC
This commit is contained in:
parent
e721c74598
commit
f75186ec8f
6 changed files with 158 additions and 36 deletions
|
@ -0,0 +1,16 @@
|
|||
Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
||||
BlockContainer <html> at (1,1) content-size 798x120 [BFC] children: not-inline
|
||||
BlockContainer <body> at (10,10) content-size 780x102 children: not-inline
|
||||
Box <div.grid-container> at (11,11) content-size 778x100 [GFC] children: not-inline
|
||||
BlockContainer <div#max-height-item.grid-item> at (12,11) content-size 776x100 [BFC] children: inline
|
||||
line 0 width: 166.84375, height: 17.46875, bottom: 17.46875, baseline: 13.53125
|
||||
frag 0 from TextNode start: 0, length: 20, rect: [12,11 166.84375x17.46875]
|
||||
"Item with Max-Height"
|
||||
TextNode <#text>
|
||||
|
||||
ViewportPaintable (Viewport<#document>) [0,0 800x600]
|
||||
PaintableWithLines (BlockContainer<HTML>) [0,0 800x122]
|
||||
PaintableWithLines (BlockContainer<BODY>) [9,9 782x104]
|
||||
PaintableBox (Box<DIV>.grid-container) [10,10 780x102] overflow: [11,10 778x102]
|
||||
PaintableWithLines (BlockContainer<DIV>#max-height-item.grid-item) [11,10 778x102]
|
||||
TextPaintable (TextNode<#text>)
|
|
@ -0,0 +1,16 @@
|
|||
Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
||||
BlockContainer <html> at (1,1) content-size 798x322 [BFC] children: not-inline
|
||||
BlockContainer <body> at (10,10) content-size 780x304 children: not-inline
|
||||
Box <div.grid-container> at (11,11) content-size 778x302 [GFC] children: not-inline
|
||||
BlockContainer <div#min-height-item.grid-item> at (12,12) content-size 776x300 [BFC] children: inline
|
||||
line 0 width: 161.96875, height: 17.46875, bottom: 17.46875, baseline: 13.53125
|
||||
frag 0 from TextNode start: 0, length: 20, rect: [12,12 161.96875x17.46875]
|
||||
"Item with Min-Height"
|
||||
TextNode <#text>
|
||||
|
||||
ViewportPaintable (Viewport<#document>) [0,0 800x600]
|
||||
PaintableWithLines (BlockContainer<HTML>) [0,0 800x324]
|
||||
PaintableWithLines (BlockContainer<BODY>) [9,9 782x306]
|
||||
PaintableBox (Box<DIV>.grid-container) [10,10 780x304]
|
||||
PaintableWithLines (BlockContainer<DIV>#min-height-item.grid-item) [11,11 778x302]
|
||||
TextPaintable (TextNode<#text>)
|
Loading…
Add table
Add a link
Reference in a new issue