mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-24 10:22:05 -05:00
a482166087
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> |