Automated scrollIntoView tests with 3 different DOCTYPEs as well as right-to-left

 
 
strict
quirks
loose RTL
quirks RTL
strict
quirks
loose RTL
quirks RTL
strict
quirks
loose RTL
quirks RTL
strict
quirks
loose RTL
quirks RTL
strict
quirks
loose RTL
quirks RTL
strict
quirks
loose RTL
quirks RTL
strict
quirks
loose RTL
quirks RTL
strict
quirks
loose RTL
quirks RTL
strict
quirks
loose RTL
quirks RTL
strict
quirks
loose RTL
quirks RTL
strict
quirks
loose RTL
quirks RTL
strict
quirks
loose RTL
quirks RTL
strict
quirks
loose RTL
quirks RTL

inner scrollbar size = 0
outer scrollbar size = 0
15 tests to run in 1 groups
------------------------------------------------------------
GROUP "dojo.window.scroll" has 15 tests to run
count is 52
PASSED test: create iframes and wait for them to load 537 ms
PASSED test: checkAttrs 0 ms
_AssertFailure: assertEqual() failed: expected (0,-10) but got (0,-1) with hint: 8249_strict max failed
ERROR IN: function test_8249(){ generateTest('8249_strict', '(0,-10)', '(0,+10)'); generateTest('8249_quirks', '(0,-10)', '(0,+10)'); generateTest('8249_loose_rtl', '(0,-10)', '(0,+10)'); generateTest('8249_quirks_rtl', '(0,-10)', '(0,+10)'); }
FAILED test: test_8249 6 ms
_AssertFailure: assertEqual() failed: expected (0,-10) but got (0,-1) with hint: 8284_strict max failed
ERROR IN: function test_8284(){ var minScroll, maxScroll, fudge=0; if(has("ie") <= 8){ minScroll = maxScroll = 11; if(has("ie") <= 6){ fudge = dojo.byId('8284_quirks').contentWindow.document.body.clientHeight-100; // needed for running inside DOH runner } }else{ minScroll = maxScroll = 10; } generateTestXY('8284_quirks', "0", -maxScroll+fudge, "0", minScroll-fudge); generateTestXY('8284_quirks_rtl', "0", -maxScroll+fudge, "0", minScroll-fudge); if(has("ie") == 8){ minScroll = maxScroll = 10; } generateTestXY('8284_strict', "0", -maxScroll, "0", minScroll); generateTestXY('8284_loose_rtl', "0", -maxScroll, "0", minScroll); }
FAILED test: test_8284 7 ms
_AssertFailure: assertEqual() failed: expected (0,-10) but got (0,-1) with hint: absContent_strict max failed
ERROR IN: function test_absContent(){ generateTestXY('absContent_strict', 0, -10, 0, 10); generateTestXY('absContent_loose_rtl', 0, -10, 0, 10); generateTestXY('absContent_quirks', 0, -10, 0, 10); generateTestXY('absContent_quirks_rtl', 0, -10, 0, 10); }
FAILED test: test_absContent 2 ms
_AssertFailure: assertEqual() failed: expected (-1,-1) but got (-1,0) with hint: fixedNode_strict max failed
ERROR IN: function test_fixedNode(){ if(!(has("ie") <= 6)){ generateTest('fixedNode_strict', "(-1,-1)", "(+1,+1)"); generateTest('fixedNode_loose_rtl', "(-1,-1)", "(+1,+1)"); } if(!has("ie")){ generateTest('fixedNode_quirks', "(-1,-1)", "(+1,+1)"); generateTest('fixedNode_quirks_rtl', "(-1,-1)", "(+1,+1)"); } }
FAILED test: test_fixedNode 2 ms
PASSED test: test_fixedScrollable 8 ms
PASSED test: test_7036_8665 8 ms
_AssertFailure: assertEqual() failed: expected (-0,-29) but got (+39,-29) with hint: innerNoScrollBars_loose_rtl max failed
ERROR IN: function test_innerNoScrollBars(){ var scroll; if(has("ie") <= 6){ scroll = 53; }else if(has("ie") == 7){ scroll = 46; }else{ scroll = 39; } generateTestXY('innerNoScrollBars_strict', scroll, -29, scroll, -29); if(has("ie") <= 8){ scroll = -38; } generateTestXY('innerNoScrollBars_quirks', scroll, -29, scroll, -29); if(has("ie") <= 6){ scroll = 53; }else if(has("ie") == 7){ scroll = 46; }else if(has("ie") >= 8 || has("opera")){ scroll = "0"; }else if(has("webkit")){ scroll = "-0"; }else{ scroll = 39; } generateTestXY('innerNoScrollBars_loose_rtl', scroll, -29, scroll, -29); if(has("ie") <= 8){ scroll = -38; } generateTestXY('innerNoScrollBars_quirks_rtl', scroll, -29, scroll, -29); }
FAILED test: test_innerNoScrollBars 10 ms