mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 16:45:03 +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.
10 lines
635 B
Plaintext
10 lines
635 B
Plaintext
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>
|