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
https://quirks.spec.whatwg.org/#the-line-height-calculation-quirk
The border-right-width, border-left-width, padding-right and padding-left properties have a used value of zero.
Per servo/servo#11853 maybe used value here should instead be computed value.
The text was updated successfully, but these errors were encountered:
cc @nox
Sorry, something went wrong.
So a case like this?
http://software.hixie.ch/utilities/js/live-dom-viewer/saved/4301
<style> div { width:100px } span { padding-left:calc(10% - 10px); line-height:20px } </style> <div id=test><span></span><small>test</small></div> <script> w(getComputedStyle(test).height) </script>
Gecko and Chromium seem to apply the quirk for this case. (If the padding-left is changed to 1px, the div's height is 20px.)
No branches or pull requests
https://quirks.spec.whatwg.org/#the-line-height-calculation-quirk
Per servo/servo#11853 maybe used value here should instead be computed value.
The text was updated successfully, but these errors were encountered: