mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 14:57:35 +00:00
LibWeb: Unit tests for min/max-inline-size
This commit is contained in:
parent
733b74af7c
commit
f60446bbfe
2 changed files with 45 additions and 0 deletions
25
Tests/LibWeb/Layout/input/inline-size.html
Normal file
25
Tests/LibWeb/Layout/input/inline-size.html
Normal file
|
@ -0,0 +1,25 @@
|
|||
<!DOCTYPE HTML>
|
||||
<style>
|
||||
* {
|
||||
font: 70px SerenitySans;
|
||||
}
|
||||
.min-inline-test {
|
||||
background: red;
|
||||
min-width: 400px;
|
||||
min-height: 200px;
|
||||
|
||||
min-inline-size: 700px;
|
||||
writing-mode: horizontal-tb;
|
||||
}
|
||||
.max-inline-test {
|
||||
background: blue;
|
||||
max-width: 400px;
|
||||
max-height: 200px;
|
||||
|
||||
max-inline-size: 100px;
|
||||
writing-mode: horizontal-tb;
|
||||
}
|
||||
</style>
|
||||
<p class="min-inline-test">KK</p>
|
||||
<br>
|
||||
<p class="max-inline-test">KK</p>
|
Loading…
Add table
Add a link
Reference in a new issue