1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 16:17:45 +00:00

LibWeb: Treat grid items with z-index != auto as positioned elements

This commit is contained in:
Aliaksandr Kalenik 2023-08-21 17:07:53 +02:00 committed by Andreas Kling
parent 95a8dec373
commit cca779e7f6
5 changed files with 33 additions and 1 deletions

View file

@ -0,0 +1,8 @@
<!doctype html><style type="text/css">
* { outline: 1px solid black; }
body { display: grid; }
.foo {
grid-area: 1 / 1 / auto / auto;
background: pink;
}
</style><body><div class="foo">foo</div>