mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 16:45:03 +00:00
Previously we always set the height of the HTML element equal to the viewport height but now this will only happen in quirks mode as it is intended. Otherwise the html element height will be computed as auto.
15 lines
304 B
HTML
15 lines
304 B
HTML
<style>
|
|
* {
|
|
outline: 1px solid black !important;
|
|
}
|
|
body {
|
|
border: 10px solid purple;
|
|
display: block;
|
|
height: 50%;
|
|
}
|
|
.box {
|
|
background-color: palevioletred;
|
|
height: 100px;
|
|
width: 100px;
|
|
}
|
|
</style><body><div class="box"></div> |