mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 08:17:35 +00:00
LibWeb: Respect justify-items property of grid container
This commit is contained in:
parent
f060f89220
commit
2138c164c9
4 changed files with 82 additions and 8 deletions
11
Tests/LibWeb/Layout/input/grid/justify-items.html
Normal file
11
Tests/LibWeb/Layout/input/grid/justify-items.html
Normal file
|
@ -0,0 +1,11 @@
|
|||
<!DOCTYPE html><style>
|
||||
* { border: 1px solid black; }
|
||||
.grid { display: grid; }
|
||||
.start { justify-items: start; }
|
||||
.center { justify-items: center; }
|
||||
.end { justify-items: end; }
|
||||
</style>
|
||||
<body>
|
||||
<div class="grid start"><div>Start</div></div>
|
||||
<div class="grid center"><div>Center</div></div>
|
||||
<div class="grid end"><div>End</div></div>
|
Loading…
Add table
Add a link
Reference in a new issue