1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 02:37:35 +00:00

LibWeb: Create Layout::Box for display: inline-grid

This makes us actually run a GridFormattingContext instead of rendering
inline-grid elements as nothing. :^)
This commit is contained in:
Andreas Kling 2023-07-11 18:43:33 +02:00
parent 5615ea5386
commit 9174ffd7e6
3 changed files with 17 additions and 0 deletions

View file

@ -0,0 +1,10 @@
Viewport <#document> at (0,0) content-size 800x600 children: not-inline
BlockContainer <html> at (0,0) content-size 800x33.46875 [BFC] children: inline
line 0 width: 42.953125, height: 33.46875, bottom: 33.46875, baseline: 13.53125
frag 0 from Box start: 0, length: 0, rect: [8,8 26.953125x17.46875]
Box <body> at (8,8) content-size 26.953125x17.46875 [GFC] children: not-inline
BlockContainer <(anonymous)> at (8,8) content-size 26.953125x17.46875 [BFC] children: inline
line 0 width: 26.953125, height: 17.46875, bottom: 17.46875, baseline: 13.53125
frag 0 from TextNode start: 0, length: 3, rect: [8,8 26.953125x17.46875]
"whf"
TextNode <#text>