mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 22:17:44 +00:00
LibWeb: Implement more of "Resolve Intrinsic Track Sizes" in GFC
Implements some parts of "Resolve Intrinsic Track Sizes" algorithm from spec to make it more spec compliant.
This commit is contained in:
parent
1ada6a43e2
commit
14cb0067bb
3 changed files with 104 additions and 48 deletions
23
Tests/LibWeb/Layout/input/grid/basic-2.html
Normal file
23
Tests/LibWeb/Layout/input/grid/basic-2.html
Normal file
|
@ -0,0 +1,23 @@
|
|||
<style>
|
||||
#grid {
|
||||
display: grid;
|
||||
grid-template-columns:
|
||||
auto
|
||||
1fr;
|
||||
grid-template-rows:
|
||||
auto
|
||||
auto;
|
||||
}
|
||||
|
||||
#title {
|
||||
grid-column: 1;
|
||||
grid-row: 1;
|
||||
background-color: lightblue;
|
||||
}
|
||||
|
||||
#board {
|
||||
grid-column: 2;
|
||||
grid-row: 1;
|
||||
background-color: lightgreen;
|
||||
}
|
||||
</style><div id="grid"><div id="title">Game Title</div><div id="board">Board</div></div>
|
Loading…
Add table
Add a link
Reference in a new issue