Source code

Revision control

Copy as Markdown

Other Tools

[calc-size-out-of-flow.html]
[used width, width: calc-size(max-content, size + 20px)]
expected: FAIL
[used width, width: calc-size(min-content, size * 2)]
expected: FAIL
[used width, width: calc-size(fit-content, size + 10px)]
expected: FAIL
[used width, width: calc-size(auto, size / 2); left: 0; right: 0 — an auto basis with both insets set]
expected: FAIL
[used width, width: calc-size(max-content, 30%) — a percentage resolves against the containing block]
expected: FAIL
[used width, minWidth: calc-size(max-content, size + 30px)]
expected: FAIL
[used width, width: 300px; maxWidth: calc-size(max-content, size + 20px)]
expected: FAIL
[used width, width: calc-size(calc-size(min-content, size * 2), size + 5px) — nested: the outer size is the inner result]
expected: FAIL