anchor-parse-invalid.html

PASSExpected25 of 25 subtests pass339 ms

Details

Test
/css/css-anchor-position/anchor-parse-invalid.html
Harness
OK

Subtests

StatusSubtestMessage
PASSe.style['margin-top'] = "anchor(--foo top)" should not set the property value
PASSe.style['height'] = "anchor(--foo top)" should not set the property value
PASSe.style['font-size'] = "anchor(--foo top)" should not set the property value
PASSe.style['top'] = "anchor(--foo, top)" should not set the property value
PASSe.style['top'] = "anchor(--foo top,)" should not set the property value
PASSe.style['top'] = "anchor(--foo top bottom)" should not set the property value
PASSe.style['top'] = "anchor(--foo top, 10px 20%)" should not set the property value
PASSe.style['top'] = "anchor(--foo top, 10px, 20%)" should not set the property value
PASSe.style['top'] = "anchor(2 * 20%)" should not set the property value
PASSe.style['top'] = "anchor((2 * 20%))" should not set the property value
PASSe.style['top'] = "anchor(foo top)" should not set the property value
PASSe.style['top'] = "anchor(top foo)" should not set the property value
PASSe.style['top'] = "anchor(--foo height)" should not set the property value
PASSe.style['top'] = "anchor(--foo 10em)" should not set the property value
PASSe.style['top'] = "anchor(--foo 100s)" should not set the property value
PASSe.style['top'] = "anchor(--foo top, 1)" should not set the property value
PASSe.style['top'] = "anchor(--foo top, 100s)" should not set the property value
PASSe.style['top'] = "anchor(--foo top, bottom)" should not set the property value
PASSe.style['top'] = "anchor(--foo top, anchor(bar top))" should not set the property value
PASSe.style['top'] = "anchor(--foo top, anchor-size(bar height))" should not set the property value
PASSe.style['top'] = "anchor(--foo top, auto" should not set the property value
PASSe.style['top'] = "calc(anchor(foo top) + 10px + 10%)" should not set the property value
PASSe.style['top'] = "calc(10px + 100 * anchor(--foo top, anchor(bar bottom)))" should not set the property value
PASSe.style['top'] = "min(anchor(--foo top), anchor(--bar bottom), anchor-size(baz height))" should not set the property value
PASSe.style['top'] = "calc(anchor(--foo top, 1) + 1px)" should not set the property value