Source code

Revision control

Copy as Markdown

Other Tools

<!doctype html>
<title>Calc gets resolved with 0 percent basis for intrinsic size computation</title>
<style>
div {
background-color: green;
width: max-content;
}
span {
margin-left: 30px;
padding-left: 50px;
}
</style>
<div>
<span>ABCD</span>
</div>