We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
If the html doesn't have <!doctype ... >, browser renders it in quirks mode, and some of the height: 100% styles act weird.
<!doctype ... >
height: 100%
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>
The text was updated successfully, but these errors were encountered:
<!DOCTYPE>
Here's how the heigh: 100% works on quirk mode: The percentage height calculation quirk
heigh: 100%
Sorry, something went wrong.
🚀 Issue was released in v0.3.0 🚀
v0.3.0
Successfully merging a pull request may close this issue.
If the html doesn't have
<!doctype ... >
, browser renders it in quirks mode, and some of theheight: 100%
styles act weird.Here's a minimal html to test with and without <!doctype> and see the difference:
The text was updated successfully, but these errors were encountered: