mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-17 00:23:00 +00:00
Use the `writing-mode` property to determine what values should be used for computing each element's rect on the screen. If it is a vertical mode, swap the inline and block, lengths and offsets. This only lays out whole inline formatting contexts vertically, and does not currently support mixing the two orientations in a single context.
11 lines
622 B
Text
11 lines
622 B
Text
Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
|
BlockContainer <html> at (0,0) content-size 800x186.265625 [BFC] children: not-inline
|
|
BlockContainer <body> at (8,8) content-size 784x170.265625 children: inline
|
|
frag 0 from TextNode start: 0, length: 24, rect: [775,8 17x170.265625] baseline: 13.296875
|
|
"Well, hello friends! :-)"
|
|
TextNode <#text>
|
|
|
|
ViewportPaintable (Viewport<#document>) [0,0 800x600]
|
|
PaintableWithLines (BlockContainer<HTML>) [0,0 800x186.265625]
|
|
PaintableWithLines (BlockContainer<BODY>) [8,8 784x170.265625]
|
|
TextPaintable (TextNode<#text>)
|