Source code

Revision control

Copy as Markdown

Other Tools

[calc-size-parsing.html]
[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(max-content, size)" should set the property value]
expected: FAIL
[e.style['height'\] = "calc-size(max-content, size)" should set the property value]
expected: FAIL
[e.style['max-width'\] = "calc-size(max-content, size)" should set the property value]
expected: FAIL
[e.style['max-height'\] = "calc-size(max-content, size)" should set the property value]
expected: FAIL
[e.style['min-width'\] = "calc-size(max-content, size)" should set the property value]
expected: FAIL
[e.style['min-height'\] = "calc-size(max-content, size)" should set the property value]
expected: FAIL
[e.style['block-size'\] = "calc-size(max-content, size)" should set the property value]
expected: FAIL
[e.style['inline-size'\] = "calc-size(max-content, size)" should set the property value]
expected: FAIL
[e.style['max-block-size'\] = "calc-size(max-content, size)" should set the property value]
expected: FAIL
[e.style['max-inline-size'\] = "calc-size(max-content, size)" should set the property value]
expected: FAIL
[e.style['min-block-size'\] = "calc-size(max-content, size)" should set the property value]
expected: FAIL
[e.style['min-inline-size'\] = "calc-size(max-content, size)" should set the property value]
expected: FAIL
[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(10px, sign(size) * size)" 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['flex-basis'\] = "calc-size(any, 50px)" should set the property value]
expected: FAIL
[e.style['flex-basis'\] = "calc-size(auto, size)" should set the property value]
expected: FAIL
[e.style['flex-basis'\] = "calc-size(content, size)" should set the property value]
expected: FAIL
[e.style['flex-basis'\] = "calc-size(max-content, size)" should set the property value]
expected: FAIL
[e.style['flex-basis'\] = "calc-size(fit-content, size)" should set the property value]
expected: FAIL
[e.style['flex-basis'\] = "calc-size(min-content, size)" should set the property value]
expected: FAIL
[e.style['width'\] = "calc-size(0px, 0px)" should set the property value]
expected: FAIL
[e.style['width'\] = "calc-size(calc-size(any, 30px), size)" should set the property value]
expected: FAIL