Source code

Revision control

Copy as Markdown

Other Tools

[calc-size-parsing.tentative.html]
[e.style['width'\] = "calc-size(fit-content, size)" should set the property value]
expected: FAIL
[e.style['height'\] = "calc-size(min-content, size * 2)" should set the property value]
expected: FAIL
[e.style['max-width'\] = "calc-size(max-content, size / 2)" should set the property value]
expected: FAIL
[e.style['max-height'\] = "calc-size(fit-content, 30px + size / 2)" should set the property value]
expected: FAIL
[e.style['width'\] = "calc-size(fit-content, 50% + size / 2)" should set the property value]
expected: FAIL
[e.style['width'\] = "calc-size(any, 25em)" should set the property value]
expected: FAIL
[e.style['width'\] = "calc-size(any, 40%)" should set the property value]
expected: FAIL
[e.style['width'\] = "calc-size(any, 50px + 30%)" should set the property value]
expected: FAIL
[e.style['width'\] = "calc-size(30px, 25em)" should set the property value]
expected: FAIL
[e.style['width'\] = "calc-size(calc-size(any, 30px), 25em)" should set the property value]
expected: FAIL
[e.style['width'\] = "calc-size(calc-size(2in, 30px), 25em)" should set the property value]
expected: FAIL
[e.style['width'\] = "calc-size(calc-size(min-content, 30px), 25em)" should set the property value]
expected: FAIL
[e.style['width'\] = "calc-size(calc-size(min-content, size), size)" should set the property value]
expected: FAIL
[e.style['width'\] = "calc-size(auto, size)" should set the property value]
expected: FAIL
[e.style['min-width'\] = "calc-size(auto, size)" should set the property value]
expected: FAIL
[e.style['height'\] = "calc-size(auto, size)" should set the property value]
expected: FAIL
[e.style['min-height'\] = "calc-size(auto, size)" should set the property value]
expected: FAIL
[e.style['width'\] = "calc-size(10px, sign(size) * size)" should set the property value]
expected: FAIL
[e.style['width'\] = "calc-size(30px)" should set the property value]
expected: FAIL
[e.style['width'\] = "calc-size(min(30px, 2em))" should set the property value]
expected: FAIL
[e.style['width'\] = "calc-size(calc-size(any, 30px))" should set the property value]
expected: FAIL
[e.style['width'\] = "calc-size(fit-content)" should set the property value]
expected: FAIL
[e.style['width'\] = "calc-size(calc-size(fit-content, size * 2))" should set the property value]
expected: FAIL
[e.style['width'\] = "calc-size(calc-size(30px))" should set the property value]
expected: FAIL