function-shadow.html

FAILExpected1 of 11 subtests pass423 ms

Details

Test
/css/css-mixins/functions/function-shadow.html
Harness
OK

Subtests

StatusSubtestMessage
FAIL@function works inside shadow
assert_equals: expected "10px" but got "--a()"
assert_equals: expected "10px" but got "--a()"
FAILLooking up document-global function
assert_equals: expected "42px" but got "--a()"
assert_equals: expected "42px" but got "--a()"
FAIL@function works inside nested shadow
assert_equals: expected "11px" but got "--a()"
assert_equals: expected "11px" but got "--a()"
FAIL@function defined in outer shadow is visible
assert_equals: expected "12px" but got "--a()"
assert_equals: expected "12px" but got "--a()"
FAILCombining functions from various scopes
assert_equals: expected "42px B C" but got "--a() --b() --c()"
assert_equals: expected "42px B C" but got "--a() --b() --c()"
PASS::part() can not see inner functions
FAIL::slotted() can see inner functions
assert_equals: expected "42px 16px 15px" but got "--a() --b() --c()"
assert_equals: expected "42px 16px 15px" but got "--a() --b() --c()"
FAIL:host can see inner functions
assert_equals: expected "42px 17px 18px" but got "--a() --b() --c()"
assert_equals: expected "42px 17px 18px" but got "--a() --b() --c()"
FAILOuter functions can't see inner functions
assert_equals: expected "20px C" but got "--b() --c()"
assert_equals: expected "20px C" but got "--b() --c()"
FAILOuter functions can't see inner functions (local vars)
assert_equals: expected "22px C" but got "--d()"
assert_equals: expected "22px C" but got "--d()"
FAILFunction with same name in different scopes
assert_equals: expected "24px" but got "--a()"
assert_equals: expected "24px" but got "--a()"