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:
parent
95a8dec373
commit
cca779e7f6
5 changed files with 33 additions and 1 deletions
8
Tests/LibWeb/Ref/item-with-negative-z-index-ref.html
Normal file
8
Tests/LibWeb/Ref/item-with-negative-z-index-ref.html
Normal 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>
|
Loading…
Add table
Add a link
Reference in a new issue