Summary

Harness status: OK

Found 8 tests

Details

ResultTest NameMessage
PassElement scrollTop/Left getter/setter test
Asserts run
Pass
assert_equals(0, 0, "initial scrollTop should be 0")
    at Test.<anonymous> ( /css/cssom-view/elementScroll.html:38:13)
Pass
assert_equals(0, 0, "initial scrollLeft should be 0")
    at Test.<anonymous> ( /css/cssom-view/elementScroll.html:39:13)
Pass
assert_equals(30, 30, "changed scrollTop should be 40")
    at Test.<anonymous> ( /css/cssom-view/elementScroll.html:44:13)
Pass
assert_equals(40, 40, "changed scrollLeft should be 40")
    at Test.<anonymous> ( /css/cssom-view/elementScroll.html:45:13)
Pass
assert_equals(0, 0, "unrelated element should not scroll")
    at Test.<anonymous> ( /css/cssom-view/elementScroll.html:46:13)
Pass
assert_equals(0, 0, "unrelated element should not scroll")
    at Test.<anonymous> ( /css/cssom-view/elementScroll.html:47:13)
PassElement scroll test (two arguments)
Asserts run
Pass
assert_equals(50, 50, "changed scrollLeft should be 50")
    at Test.<anonymous> ( /css/cssom-view/elementScroll.html:53:13)
Pass
assert_equals(60, 60, "changed scrollTop should be 60")
    at Test.<anonymous> ( /css/cssom-view/elementScroll.html:54:13)
PassElement scroll test (one argument)
Asserts run
Pass
assert_equals(55, 55, "changed scrollLeft should be 55")
    at Test.<anonymous> ( /css/cssom-view/elementScroll.html:60:13)
Pass
assert_equals(65, 65, "changed scrollTop should be 65")
    at Test.<anonymous> ( /css/cssom-view/elementScroll.html:61:13)
Pass
assert_equals(85, 85, "changed scrollLeft should be 85")
    at Test.<anonymous> ( /css/cssom-view/elementScroll.html:65:13)
Pass
assert_equals(65, 65, "scrollTop should stay at 65")
    at Test.<anonymous> ( /css/cssom-view/elementScroll.html:66:13)
Pass
assert_equals(85, 85, "scrollLeft should stay at 85")
    at Test.<anonymous> ( /css/cssom-view/elementScroll.html:70:13)
Pass
assert_equals(75, 75, "changed scrollTop should be 75")
    at Test.<anonymous> ( /css/cssom-view/elementScroll.html:71:13)
Pass
assert_equals(85, 85, "scrollLeft should stay at 85")
    at Test.<anonymous> ( /css/cssom-view/elementScroll.html:75:13)
Pass
assert_equals(75, 75, "scrollTop should stay at 75")
    at Test.<anonymous> ( /css/cssom-view/elementScroll.html:76:13)
Pass
assert_equals(85, 85, "scrollLeft should stay at 85")
    at Test.<anonymous> ( /css/cssom-view/elementScroll.html:80:13)
Pass
assert_equals(75, 75, "scrollTop should stay at 75")
    at Test.<anonymous> ( /css/cssom-view/elementScroll.html:81:13)
PassElement scrollTo test (two arguments)
Asserts run
Pass
assert_equals(80, 80, "changed scrollLeft should be 70")
    at Test.<anonymous> ( /css/cssom-view/elementScroll.html:87:13)
Pass
assert_equals(70, 70, "changed scrollTop should be 80")
    at Test.<anonymous> ( /css/cssom-view/elementScroll.html:88:13)
PassElement scrollTo test (one argument)
Asserts run
Pass
assert_equals(75, 75, "changed scrollLeft should be 75")
    at Test.<anonymous> ( /css/cssom-view/elementScroll.html:94:13)
Pass
assert_equals(85, 85, "changed scrollTop should be 85")
    at Test.<anonymous> ( /css/cssom-view/elementScroll.html:95:13)
Pass
assert_equals(65, 65, "changed scrollLeft should be 65")
    at Test.<anonymous> ( /css/cssom-view/elementScroll.html:99:13)
Pass
assert_equals(85, 85, "scrollTop should stay at 85")
    at Test.<anonymous> ( /css/cssom-view/elementScroll.html:100:13)
Pass
assert_equals(65, 65, "scrollLeft should stay at 65")
    at Test.<anonymous> ( /css/cssom-view/elementScroll.html:104:13)
Pass
assert_equals(55, 55, "changed scrollTop should be 55")
    at Test.<anonymous> ( /css/cssom-view/elementScroll.html:105:13)
Pass
assert_equals(65, 65, "scrollLeft should stay at 65")
    at Test.<anonymous> ( /css/cssom-view/elementScroll.html:109:13)
Pass
assert_equals(55, 55, "scrollTop should stay at 55")
    at Test.<anonymous> ( /css/cssom-view/elementScroll.html:110:13)
Pass
assert_equals(65, 65, "scrollLeft should stay at 55")
    at Test.<anonymous> ( /css/cssom-view/elementScroll.html:114:13)
Pass
assert_equals(55, 55, "scrollTop should stay at 55")
    at Test.<anonymous> ( /css/cssom-view/elementScroll.html:115:13)
PassElement scrollBy test (two arguments)
Asserts run
Pass
assert_equals(75, 75, "increment of scrollLeft should be 10")
    at Test.<anonymous> ( /css/cssom-view/elementScroll.html:124:13)
Pass
assert_equals(75, 75, "increment of scrollTop should be 20")
    at Test.<anonymous> ( /css/cssom-view/elementScroll.html:125:13)
PassElement scrollBy test (one argument)
Asserts run
Pass
assert_equals(80, 80, "increment of scrollLeft should be 5")
    at Test.<anonymous> ( /css/cssom-view/elementScroll.html:136:13)
Pass
assert_equals(90, 90, "increment of scrollTop should be 15")
    at Test.<anonymous> ( /css/cssom-view/elementScroll.html:137:13)
Pass
assert_equals(65, 65, "decrement of scrollLeft should be 15")
    at Test.<anonymous> ( /css/cssom-view/elementScroll.html:142:13)
Pass
assert_equals(90, 90, "scrollTop should not be modified")
    at Test.<anonymous> ( /css/cssom-view/elementScroll.html:143:13)
Pass
assert_equals(65, 65, "scrollLeft should not be modified")
    at Test.<anonymous> ( /css/cssom-view/elementScroll.html:148:13)
Pass
assert_equals(85, 85, "decrement of scrollTop should be 5")
    at Test.<anonymous> ( /css/cssom-view/elementScroll.html:149:13)
Pass
assert_equals(65, 65, "scrollLeft should not be modified")
    at Test.<anonymous> ( /css/cssom-view/elementScroll.html:153:13)
Pass
assert_equals(85, 85, "scrollTop should not be modified")
    at Test.<anonymous> ( /css/cssom-view/elementScroll.html:154:13)
Pass
assert_equals(65, 65, "scrollLeft should not be modified")
    at Test.<anonymous> ( /css/cssom-view/elementScroll.html:158:13)
Pass
assert_equals(85, 85, "scrollTop should not be modified")
    at Test.<anonymous> ( /css/cssom-view/elementScroll.html:159:13)
PassElement scroll maximum test
Asserts run
Pass
assert_equals(200, 200, "changed scrollTop should be 200")
    at Test.<anonymous> ( /css/cssom-view/elementScroll.html:166:13)
Pass
assert_equals(100, 100, "changed scrollLeft should be 100")
    at Test.<anonymous> ( /css/cssom-view/elementScroll.html:167:13)