mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 16:07:46 +00:00
LibWeb: Float property should be ignored for grid items
This commit is contained in:
parent
5ef94f0ba8
commit
d22aa851cf
3 changed files with 28 additions and 0 deletions
11
Tests/LibWeb/Layout/expected/grid/floating-item.txt
Normal file
11
Tests/LibWeb/Layout/expected/grid/floating-item.txt
Normal file
|
@ -0,0 +1,11 @@
|
|||
Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
||||
BlockContainer <html> at (1,1) content-size 798x122 [BFC] children: not-inline
|
||||
BlockContainer <body> at (10,10) content-size 780x104 children: not-inline
|
||||
Box <div.grid> at (11,11) content-size 778x102 [GFC] children: not-inline
|
||||
BlockContainer <div.float-left> at (12,12) content-size 100x100 floating [BFC] children: not-inline
|
||||
|
||||
ViewportPaintable (Viewport<#document>) [0,0 800x600]
|
||||
PaintableWithLines (BlockContainer<HTML>) [0,0 800x124]
|
||||
PaintableWithLines (BlockContainer<BODY>) [9,9 782x106]
|
||||
PaintableBox (Box<DIV>.grid) [10,10 780x104]
|
||||
PaintableWithLines (BlockContainer<DIV>.float-left) [11,11 102x102]
|
Loading…
Add table
Add a link
Reference in a new issue