ladybird/Tests/LibWeb/Layout/input/vertical-padding-relative-to-cb-width.html
Andreas Kling da861fe7af Tests/LibWeb: Use SerenitySans in new layout tests
This ensures consistent font metrics no matter which platform fonts
are available.
2023-03-10 18:10:33 +01:00

22 lines
311 B
HTML

<style>
* {
border: 1px solid black;
font-family: 'SerenitySans';
}
.cb {
width: 600px;
height: 10px;
}
.foo {
background: orange;
box-sizing: border-box;
height: 200px;
padding-top: 10%;
padding-bottom: 20%;
}
</style>
<body>
<div class="cb">
<div class="foo">foo</div>
bar