Summary

Harness status: OK

Found 5 tests

Details

ResultTest NameMessage
PassShould use the last position option initially
Asserts run
Pass
assert_equals(720, 720, "Anchored element should be at the top of anchor")
    at assert_fallback_position ( /css/css-anchor-position/support/test-common.js:9:7)
Pass
assert_equals(0, 0, "Anchored element should be at the right of anchor")
    at assert_fallback_position ( /css/css-anchor-position/support/test-common.js:18:7)
FailShould stay at initial position, since it still fitsassert_equals: Anchored element should be at the right of anchor expected 250 but got 50
    at assert_fallback_position (https://www1.wpt.live/css/css-anchor-position/support/test-common.js:18:7)
    at Test.<anonymous> (https://www1.wpt.live/css/css-anchor-position/anchor-scroll-position-try-007.html:78:3)
Asserts run
Pass
assert_equals(570, 570, "Anchored element should be at the top of anchor")
    at assert_fallback_position ( /css/css-anchor-position/support/test-common.js:9:7)
Fail
assert_equals(50, 250, "Anchored element should be at the right of anchor")
    at assert_fallback_position ( /css/css-anchor-position/support/test-common.js:18:7)
PassShould use the third position option with enough space left
Asserts run
Pass
assert_equals(1081, 1081, "Anchored element should be at the left of anchor")
    at assert_fallback_position ( /css/css-anchor-position/support/test-common.js:15:7)
Pass
assert_equals(570, 570, "Anchored element should be at the top of anchor")
    at assert_fallback_position ( /css/css-anchor-position/support/test-common.js:9:7)
PassShould use the first position option with enough space left and below
Asserts run
Pass
assert_equals(150, 150, "Anchored element should be at the left of anchor")
    at assert_fallback_position ( /css/css-anchor-position/support/test-common.js:15:7)
Pass
assert_equals(100, 100, "Anchored element should be at the bottom of anchor")
    at assert_fallback_position ( /css/css-anchor-position/support/test-common.js:12:7)
PassShould use the second position option with enough space below (and not enough above)
Asserts run
Pass
assert_equals(150, 150, "Anchored element should be at the right of anchor")
    at assert_fallback_position ( /css/css-anchor-position/support/test-common.js:18:7)
Pass
assert_equals(199, 199, "Anchored element should be at the bottom of anchor")
    at assert_fallback_position ( /css/css-anchor-position/support/test-common.js:12:7)