mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 20:17:44 +00:00
Tests/LibWeb: Split input/grid/minmax.html into smaller tests
This commit is contained in:
parent
0dcc93ed3d
commit
f2323b5b99
10 changed files with 130 additions and 239 deletions
18
Tests/LibWeb/Layout/input/grid/minmax-invalid-1.html
Normal file
18
Tests/LibWeb/Layout/input/grid/minmax-invalid-1.html
Normal file
|
@ -0,0 +1,18 @@
|
|||
<style>
|
||||
.container {
|
||||
display: grid;
|
||||
background-color: lightsalmon;
|
||||
|
||||
/* Invalid minmax value as can't have a flexible length as a minimum value. */
|
||||
grid-template-columns: minmax(1fr, 100px) 1fr 1fr;
|
||||
}
|
||||
|
||||
.one {
|
||||
background-color: lightblue;
|
||||
}
|
||||
|
||||
.two {
|
||||
background-color: yellowgreen;
|
||||
}
|
||||
</style>
|
||||
<div class="container"><div class="one">1</div><div class="two">2</div></div>
|
Loading…
Add table
Add a link
Reference in a new issue