mirror of
https://github.com/RGBCube/serenity
synced 2025-05-23 23:45:07 +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
No EOL
304 B
HTML
15 lines
No EOL
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> |