mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 01:07:36 +00:00
LibWeb: Resolve used insets for grid items
This commit is contained in:
parent
03ec17fd37
commit
e7e454f1d6
3 changed files with 34 additions and 0 deletions
19
Tests/LibWeb/Layout/input/grid/relpos-grid-item.html
Normal file
19
Tests/LibWeb/Layout/input/grid/relpos-grid-item.html
Normal file
|
@ -0,0 +1,19 @@
|
|||
<!DOCTYPE html><style>
|
||||
* { border: 2px solid black; }
|
||||
body {
|
||||
width: 600px;
|
||||
display: grid;
|
||||
}
|
||||
div {
|
||||
width: 200px;
|
||||
position: relative;
|
||||
}
|
||||
.athena {
|
||||
background: green;
|
||||
top: -10px;
|
||||
left: 10px;
|
||||
}
|
||||
.exekiller {
|
||||
background: red;
|
||||
}
|
||||
</style><body><div class="exekiller">exekiller</div><div class="athena">athena</div></body>
|
Loading…
Add table
Add a link
Reference in a new issue