mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 02:37:36 +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
15
Tests/LibWeb/Layout/input/grid/floating-item.html
Normal file
15
Tests/LibWeb/Layout/input/grid/floating-item.html
Normal file
|
@ -0,0 +1,15 @@
|
|||
<!DOCTYPE html><style>
|
||||
* {
|
||||
border: 1px solid black;
|
||||
}
|
||||
|
||||
.grid {
|
||||
display: grid;
|
||||
}
|
||||
|
||||
.float-left {
|
||||
float: left;
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
}
|
||||
</style><div class="grid"><div class="float-left"></div></div>
|
Loading…
Add table
Add a link
Reference in a new issue