calc-size-height-box-sizing.html

FAILExpected4 of 15 subtests pass538 ms

Details

Test
/css/css-values/calc-size/calc-size-height-box-sizing.html
Harness
OK

Subtests

StatusSubtestMessage
PASSresolved height with styles {"height":"auto"}
PASSresolved height with styles {"height":"auto","box-sizing":"border-box"}
PASSresolved height with styles {"height":"calc-size(auto, size)"}
PASSresolved height with styles {"height":"calc-size(auto, size)","box-sizing":"border-box"}
FAILresolved height with styles {"height":"calc-size(auto, size * 2)"}
assert_equals: getComputedStyle(target).height expected "14px" but got "7px"
assert_equals: getComputedStyle(target).height expected "14px" but got "7px"
FAILresolved height with styles {"height":"calc-size(auto, size * 2)","box-sizing":"content-box"}
assert_equals: getComputedStyle(target).height expected "14px" but got "7px"
assert_equals: getComputedStyle(target).height expected "14px" but got "7px"
FAILresolved height with styles {"height":"calc-size(auto, size * 2)","box-sizing":"border-box"}
assert_equals: getComputedStyle(target).height expected "38px" but got "19px"
assert_equals: getComputedStyle(target).height expected "38px" but got "19px"
FAILresolved height with styles {"height":"calc-size(min-content, size * 2)"}
assert_equals: getComputedStyle(target).height expected "14px" but got "7px"
assert_equals: getComputedStyle(target).height expected "14px" but got "7px"
FAILresolved height with styles {"height":"calc-size(fit-content, size * 2)","box-sizing":"border-box"}
assert_equals: getComputedStyle(target).height expected "38px" but got "19px"
assert_equals: getComputedStyle(target).height expected "38px" but got "19px"
FAILresolved height with styles {"min-height":"calc-size(min-content, size * 2)"}
assert_equals: getComputedStyle(target).height expected "14px" but got "7px"
assert_equals: getComputedStyle(target).height expected "14px" but got "7px"
FAILresolved height with styles {"min-height":"calc-size(fit-content, size * 2)","box-sizing":"border-box"}
assert_equals: getComputedStyle(target).height expected "38px" but got "19px"
assert_equals: getComputedStyle(target).height expected "38px" but got "19px"
FAILresolved height with styles {"height":"200px","max-height":"calc-size(min-content, size * 2)"}
assert_equals: getComputedStyle(target).height expected "14px" but got "200px"
assert_equals: getComputedStyle(target).height expected "14px" but got "200px"
FAILresolved height with styles {"height":"200px","max-height":"calc-size(fit-content, size * 2)","box-sizing":"border-box"}
assert_equals: getComputedStyle(target).height expected "38px" but got "200px"
assert_equals: getComputedStyle(target).height expected "38px" but got "200px"
FAILresolved height with styles {"height":"calc-size(11px, size * 2)"}
assert_equals: getComputedStyle(target).height expected "22px" but got "7px"
assert_equals: getComputedStyle(target).height expected "22px" but got "7px"
FAILresolved height with styles {"height":"calc-size(11px, size * 2)","box-sizing":"border-box"}
assert_equals: getComputedStyle(target).height expected "22px" but got "19px"
assert_equals: getComputedStyle(target).height expected "22px" but got "19px"