Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!doctype html>
<title>Calc gets resolved with 0 percent basis for intrinsic size computation</title>
<link rel="author" title="Emilio Cobos Álvarez" href="mailto:emilio@crisal.io">
<link rel="author" title="Mozilla" href="https://mozilla.org">
<link rel="match" href="inline-intrinsic-size-calc-ref.html">
<style>
div {
background-color: green;
width: max-content;
}
span {
margin-left: calc(0% + 30px);
padding-left: calc(0% + 50px);
}
</style>
<div>
<span>ABCD</span>
</div>