mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 16:07:46 +00:00
Tests/LibWeb: Split grid/positions-and-spans.html into smaller tests
This giant grid test has been a source of problems while iterating on GFC for a long time. Let's split it into smaller tests to make it easier to identify issues without needing further reductions on the test.
This commit is contained in:
parent
29b2022303
commit
6267037a74
10 changed files with 163 additions and 173 deletions
18
Tests/LibWeb/Layout/input/grid/placement-1.html
Normal file
18
Tests/LibWeb/Layout/input/grid/placement-1.html
Normal file
|
@ -0,0 +1,18 @@
|
|||
<style>
|
||||
* {
|
||||
border: 1px solid black;
|
||||
}
|
||||
|
||||
.grid-container {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(12, minmax(0, 5fr));
|
||||
}
|
||||
|
||||
.a {
|
||||
grid-column-end: span 8;
|
||||
}
|
||||
|
||||
.b {
|
||||
grid-column-end: span 4;
|
||||
}
|
||||
</style><div class="grid-container"><div class="a">1</div><div class="b">2</div></div>
|
Loading…
Add table
Add a link
Reference in a new issue