mirror of
https://github.com/RGBCube/serenity
synced 2025-07-24 22:47:44 +00:00

From spec https://drafts.csswg.org/css-grid/#grid-items: "Each in-flow child of a grid container becomes a grid item, and each child text sequence is wrapped in an anonymous block container grid item." Fixes the problem that text sequences inside grid containers are ignored and not displayed.
9 lines
635 B
Text
9 lines
635 B
Text
Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
|
BlockContainer <html> at (0,0) content-size 800x600 [BFC] children: not-inline
|
|
BlockContainer <body> at (8,8) content-size 784x17.46875 children: not-inline
|
|
Box <div.grid> at (8,8) content-size 784x17.46875 [GFC] children: not-inline
|
|
BlockContainer <(anonymous)> at (8,8) content-size 784x17.46875 [BFC] children: inline
|
|
line 0 width: 36.84375, height: 17.46875, bottom: 17.46875, baseline: 13.53125
|
|
frag 0 from TextNode start: 0, length: 5, rect: [8,8 36.84375x17.46875]
|
|
"hello"
|
|
TextNode <#text>
|