mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 23:47:45 +00:00
LibWeb: Compute inset for relative positioned inline-block
This commit is contained in:
parent
62bc8590ad
commit
a8d08357c9
3 changed files with 31 additions and 0 deletions
|
@ -0,0 +1,16 @@
|
|||
Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
||||
BlockContainer <html> at (0,0) content-size 800x36 children: not-inline
|
||||
BlockContainer <body> at (8,8) content-size 784x20 children: inline
|
||||
line 0 width: 352.34375, height: 20, bottom: 20, baseline: 13.53125
|
||||
frag 0 from TextNode start: 0, length: 14, rect: [8,8 112.421875x17.46875]
|
||||
"text text text"
|
||||
frag 1 from BlockContainer start: 0, length: 0, rect: [120,8 110.375x20]
|
||||
frag 2 from TextNode start: 0, length: 16, rect: [231,8 129.546875x17.46875]
|
||||
"more inline text"
|
||||
TextNode <#text>
|
||||
BlockContainer <span.displaced_text> at (150,48) content-size 110.375x20 positioned inline-block children: inline
|
||||
line 0 width: 110.375, height: 17.46875, bottom: 17.46875, baseline: 13.53125
|
||||
frag 0 from TextNode start: 0, length: 14, rect: [150,48 110.375x17.46875]
|
||||
"displaced text"
|
||||
TextNode <#text>
|
||||
TextNode <#text>
|
Loading…
Add table
Add a link
Reference in a new issue