Closed
Description
If the html doesn't have <!doctype ... >
, browser renders it in quirks mode, and some of the height: 100%
styles act weird.
Here's a minimal html to test with and without <!doctype> and see the difference:
<!DOCTYPE html>
<html>
<body>
<div>
<p>Lorem</p>
<div class="ch-cg">
<div class="ch-code" style="height: 100%; background: rgb(46, 52, 64)">
Hello
</div>
</div>
<p>Lorem</p>
</div>
</body>
</html>
Metadata
Metadata
Assignees
Labels
No labels