mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-04 07:36:50 +00:00
Implements following line from the spec: "If the computed value of 'inline-size' is 'auto', then the used value is the fit-content inline size."
30 lines
2.2 KiB
Plaintext
30 lines
2.2 KiB
Plaintext
Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
|
BlockContainer <html> at (0,0) content-size 800x58.9375 [BFC] children: not-inline
|
|
BlockContainer <body> at (8,8) content-size 784x42.9375 children: not-inline
|
|
BlockContainer <button.btn.fixed-width> at (13,10) content-size 190x17.46875 children: not-inline
|
|
BlockContainer <(anonymous)> at (13,10) content-size 190x17.46875 flex-container(column) [FFC] children: not-inline
|
|
BlockContainer <(anonymous)> at (13,10) content-size 190x17.46875 flex-item [BFC] children: inline
|
|
line 0 width: 94.921875, height: 17.46875, bottom: 17.46875, baseline: 13.53125
|
|
frag 0 from TextNode start: 0, length: 11, rect: [61,10 94.921875x17.46875]
|
|
"200px width"
|
|
TextNode <#text>
|
|
BlockContainer <button.btn> at (13,31.46875) content-size 324.671875x17.46875 children: not-inline
|
|
BlockContainer <(anonymous)> at (13,31.46875) content-size 324.671875x17.46875 flex-container(column) [FFC] children: not-inline
|
|
BlockContainer <(anonymous)> at (13,31.46875) content-size 324.671875x17.46875 flex-item [BFC] children: inline
|
|
line 0 width: 324.671875, height: 17.46875, bottom: 17.46875, baseline: 13.53125
|
|
frag 0 from TextNode start: 0, length: 39, rect: [13,31.46875 324.671875x17.46875]
|
|
"auto width should behave as fit-content"
|
|
TextNode <#text>
|
|
|
|
ViewportPaintable (Viewport<#document>) [0,0 800x600]
|
|
PaintableWithLines (BlockContainer<HTML>) [0,0 800x58.9375]
|
|
PaintableWithLines (BlockContainer<BODY>) [8,8 784x42.9375]
|
|
PaintableWithLines (BlockContainer<BUTTON>.btn.fixed-width) [8,8 200x21.46875]
|
|
PaintableWithLines (BlockContainer(anonymous)) [13,10 190x17.46875]
|
|
PaintableWithLines (BlockContainer(anonymous)) [13,10 190x17.46875]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableWithLines (BlockContainer<BUTTON>.btn) [8,29.46875 334.671875x21.46875]
|
|
PaintableWithLines (BlockContainer(anonymous)) [13,31.46875 324.671875x17.46875]
|
|
PaintableWithLines (BlockContainer(anonymous)) [13,31.46875 324.671875x17.46875]
|
|
TextPaintable (TextNode<#text>)
|