summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-sizing/inline-intrinsic-size-calc-ref.html
blob: 6b9a38a1bc4733387e3f2a427214c8fa4f73adde (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<!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>