mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 20:47:45 +00:00
LibWeb: Support alignment of abspos grid items
Grid items should respect alignment properties if top/right/bottom/left are not specified. This change adds a separate implementation of layout_absolutely_positioned_element that is extended with support for alignment.
This commit is contained in:
parent
2def1de4be
commit
719b12b19d
4 changed files with 120 additions and 0 deletions
|
@ -0,0 +1,11 @@
|
|||
Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
||||
BlockContainer <html> at (1,1) content-size 798x220 [BFC] children: not-inline
|
||||
BlockContainer <body> at (10,10) content-size 780x202 children: not-inline
|
||||
Box <div.container> at (11,11) content-size 200x200 positioned [GFC] children: not-inline
|
||||
BlockContainer <div.box> at (61,61) content-size 100x100 positioned [BFC] children: not-inline
|
||||
|
||||
ViewportPaintable (Viewport<#document>) [0,0 800x600]
|
||||
PaintableWithLines (BlockContainer<HTML>) [0,0 800x222]
|
||||
PaintableWithLines (BlockContainer<BODY>) [9,9 782x204]
|
||||
PaintableBox (Box<DIV>.container) [10,10 202x202]
|
||||
PaintableWithLines (BlockContainer<DIV>.box) [60,60 102x102]
|
Loading…
Add table
Add a link
Reference in a new issue