mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 08:07:34 +00:00
LibWeb: Respect justify-self property of grid items
This commit is contained in:
parent
fedbb39e9e
commit
e4e1208050
3 changed files with 70 additions and 7 deletions
15
Tests/LibWeb/Layout/input/grid/justify-self.html
Normal file
15
Tests/LibWeb/Layout/input/grid/justify-self.html
Normal file
|
@ -0,0 +1,15 @@
|
|||
<!DOCTYPE html>
|
||||
<style>
|
||||
* {
|
||||
border: 1px solid black;
|
||||
}
|
||||
body {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
</style>
|
||||
<body>
|
||||
<div style="justify-self: start">Start</div>
|
||||
<div style="justify-self: center">Center</div>
|
||||
<div style="justify-self: end">End</div>
|
||||
</body>
|
Loading…
Add table
Add a link
Reference in a new issue