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:
parent
7028f75779
commit
57cdb0c972
24 changed files with 1287 additions and 0 deletions
22
Tests/LibWeb/Layout/input/grid/basic.html
Normal file
22
Tests/LibWeb/Layout/input/grid/basic.html
Normal 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>
|
Loading…
Add table
Add a link
Reference in a new issue