mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-01 12:07:14 +02: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:
committed by
Andreas Kling
parent
1ada6a43e2
commit
14cb0067bb
Notes:
sideshowbarker
2024-07-17 03:45:48 +09:00
Author: https://github.com/kalenikaliaksandr Commit: https://github.com/SerenityOS/serenity/commit/14cb0067bb Pull-request: https://github.com/SerenityOS/serenity/pull/18750
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>
|
||||
Reference in New Issue
Block a user