1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 05:57:44 +00:00

LibWeb: Add display grid automated tests

This commit is contained in:
martinfalisse 2023-04-01 20:00:56 +02:00 committed by Andreas Kling
parent 7028f75779
commit 57cdb0c972
24 changed files with 1287 additions and 0 deletions

View file

@ -0,0 +1,22 @@
<style>
body {
font-family: 'SerenitySans';
}
.grid-container {
display: grid;
background-color: lightsalmon;
}
.grid-item {
background-color: lightblue;
}
</style>
<!-- Should render a 2x2 grid -->
<div class="grid-container" style="grid-template-columns: auto auto;">
<div class="grid-item">1</div>
<div class="grid-item">2</div>
<div class="grid-item">3</div>
<div class="grid-item">4</div>
</div>