1
Fork 0
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:
Aliaksandr Kalenik 2023-08-24 18:14:36 +02:00 committed by Andreas Kling
parent 29b2022303
commit 6267037a74
10 changed files with 163 additions and 173 deletions

View file

@ -0,0 +1,20 @@
<style>
* {
border: 1px solid black;
}
.grid-container {
display: grid;
grid-template-columns: repeat(12, minmax(0, 5fr));
}
.a {
grid-column-start: span 4;
grid-column-end: span 8;
}
.b {
grid-column-start: span 8;
grid-column-end: span 4;
}
</style><div class="grid-container"><div class="grid-item a">1</div><div class="grid-item b">2</div></div>