Summary

Harness status: OK

Found 8 tests

Details

ResultTest NameMessage
PassBasic functionality
Asserts run
Pass
assert_equals(200, 200, "Child is after spacer")
    at Test.<anonymous> ( /css/cssom-view/offsetTopLeftInScrollableParent.html:15:5)
Pass
assert_equals(0, 0, "Child is flush left")
    at Test.<anonymous> ( /css/cssom-view/offsetTopLeftInScrollableParent.html:16:5)
Pass
assert_equals(41, 41, "Abspos child is y-positioned")
    at Test.<anonymous> ( /css/cssom-view/offsetTopLeftInScrollableParent.html:18:5)
Pass
assert_equals(43, 43, "Abspos child is x-positioned")
    at Test.<anonymous> ( /css/cssom-view/offsetTopLeftInScrollableParent.html:19:5)
PassBasic functionality in scrolled parent
Asserts run
Pass
assert_equals(200, 200, "Child is after spacer")
    at Test.<anonymous> ( /css/cssom-view/offsetTopLeftInScrollableParent.html:26:5)
Pass
assert_equals(0, 0, "Child is flush left")
    at Test.<anonymous> ( /css/cssom-view/offsetTopLeftInScrollableParent.html:27:5)
Pass
assert_equals(41, 41, "Abspos child is y-positioned")
    at Test.<anonymous> ( /css/cssom-view/offsetTopLeftInScrollableParent.html:29:5)
Pass
assert_equals(43, 43, "Abspos child is x-positioned")
    at Test.<anonymous> ( /css/cssom-view/offsetTopLeftInScrollableParent.html:30:5)
PassMargins on child
Asserts run
Pass
assert_equals(220, 220, "Child is after spacer and margin")
    at Test.<anonymous> ( /css/cssom-view/offsetTopLeftInScrollableParent.html:37:5)
Pass
assert_equals(100, 100, "Child is 100px from left")
    at Test.<anonymous> ( /css/cssom-view/offsetTopLeftInScrollableParent.html:38:5)
Pass
assert_equals(61, 61, "Abspos child is y-positioned and has margin")
    at Test.<anonymous> ( /css/cssom-view/offsetTopLeftInScrollableParent.html:42:5)
Pass
assert_equals(143, 143, "Abspos child is x-positioned and has margin")
    at Test.<anonymous> ( /css/cssom-view/offsetTopLeftInScrollableParent.html:43:5)
PassMargins on child and parent
Asserts run
Pass
assert_equals(220, 220, "Child is after spacer and margin")
    at Test.<anonymous> ( /css/cssom-view/offsetTopLeftInScrollableParent.html:51:5)
Pass
assert_equals(100, 100, "Child is 100px from left")
    at Test.<anonymous> ( /css/cssom-view/offsetTopLeftInScrollableParent.html:52:5)
Pass
assert_equals(61, 61, "Abspos child is y-positioned and has margin")
    at Test.<anonymous> ( /css/cssom-view/offsetTopLeftInScrollableParent.html:54:5)
Pass
assert_equals(143, 143, "Abspos child is x-positioned and has margin")
    at Test.<anonymous> ( /css/cssom-view/offsetTopLeftInScrollableParent.html:55:5)
PassMargins on child and parent, border on child
Asserts run
Pass
assert_equals(220, 220, "Child is after spacer and margin")
    at Test.<anonymous> ( /css/cssom-view/offsetTopLeftInScrollableParent.html:62:5)
Pass
assert_equals(100, 100, "Child is 100px from left")
    at Test.<anonymous> ( /css/cssom-view/offsetTopLeftInScrollableParent.html:63:5)
Pass
assert_equals(61, 61, "Abspos child is y-positioned and has margin")
    at Test.<anonymous> ( /css/cssom-view/offsetTopLeftInScrollableParent.html:67:5)
Pass
assert_equals(143, 143, "Abspos child is x-positioned and has margin")
    at Test.<anonymous> ( /css/cssom-view/offsetTopLeftInScrollableParent.html:68:5)
PassMargins on child and parent, border on child and parent
Asserts run
Pass
assert_equals(220, 220, "Child is after spacer and margin")
    at Test.<anonymous> ( /css/cssom-view/offsetTopLeftInScrollableParent.html:76:5)
Pass
assert_equals(100, 100, "Child is 100px from left")
    at Test.<anonymous> ( /css/cssom-view/offsetTopLeftInScrollableParent.html:77:5)
Pass
assert_equals(61, 61, "Abspos child is y-positioned and has margin")
    at Test.<anonymous> ( /css/cssom-view/offsetTopLeftInScrollableParent.html:79:5)
Pass
assert_equals(143, 143, "Abspos child is x-positioned and has margin")
    at Test.<anonymous> ( /css/cssom-view/offsetTopLeftInScrollableParent.html:80:5)
PassMargins on child and parent, border on child and parent, padding on child
Asserts run
Pass
assert_equals(220, 220, "Child is after spacer and margin")
    at Test.<anonymous> ( /css/cssom-view/offsetTopLeftInScrollableParent.html:88:5)
Pass
assert_equals(100, 100, "Child is 100px from left")
    at Test.<anonymous> ( /css/cssom-view/offsetTopLeftInScrollableParent.html:89:5)
Pass
assert_equals(61, 61, "Abspos child is y-positioned and has margin")
    at Test.<anonymous> ( /css/cssom-view/offsetTopLeftInScrollableParent.html:93:5)
Pass
assert_equals(143, 143, "Abspos child is x-positioned and has margin")
    at Test.<anonymous> ( /css/cssom-view/offsetTopLeftInScrollableParent.html:94:5)
PassMargins on child and parent, border on child and parent, padding on child and parent
Asserts run
Pass
assert_equals(251, 251, "Child is after spacer and margin and parent padding")
    at Test.<anonymous> ( /css/cssom-view/offsetTopLeftInScrollableParent.html:103:5)
Pass
assert_equals(137, 137, "Child is 100px + parent padding from left")
    at Test.<anonymous> ( /css/cssom-view/offsetTopLeftInScrollableParent.html:104:5)
Pass
assert_equals(61, 61, "Abspos child is y-positioned and has margin")
    at Test.<anonymous> ( /css/cssom-view/offsetTopLeftInScrollableParent.html:107:5)
Pass
assert_equals(143, 143, "Abspos child is x-positioned and has margin")
    at Test.<anonymous> ( /css/cssom-view/offsetTopLeftInScrollableParent.html:108:5)