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 276 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 4 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 4 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 1 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 6 ms
PASSED test: test_7036_8665 6 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 7 ms
PASSED test: test_noScrollBars 4 ms
_AssertFailure: assertEqual() failed:
expected
(0,-15)
but got
(0,-1)
with hint:
table_strict max failed
ERROR IN:
function test_table(){
var minScroll, maxScroll;
minScroll = "(0,+15)";
maxScroll = "(0,-15)";
generateTest('table_strict', maxScroll, minScroll);
generateTest('table_loose_rtl', maxScroll, minScroll);
if(has("ie") <= 6){
var fudge = dojo.byId('table_quirks').contentWindow.document.body.clientHeight-100; // needed for running inside DOH runner
maxScroll = "(0,-"+(15-fudge)+")";
minScroll = "(0,+"+(15-fudge)+")";
}
generateTest('table_quirks', maxScroll, minScroll);
generateTest('table_quirks_rtl', maxScroll, minScroll);
}
FAILED test: test_table 2 ms
_AssertFailure: assertEqual() failed:
expected
(+5,+5)
but got
(-1,-1)
with hint:
innerScrollbars_strict max failed
ERROR IN:
function test_innerScrollbars(){
var scroll = innerScrollBarSize - 5;
generateTestXY('innerScrollbars_strict', -scroll, -scroll, scroll, scroll);
generateTestXY('innerScrollbars_loose_rtl', -scroll, -scroll, has("ie") == 7 ? -25 : scroll, scroll);
generateTestXY('innerScrollbars_quirks', -scroll, -scroll, scroll, scroll);
generateTestXY('innerScrollbars_quirks_rtl', -scroll, -scroll, scroll, scroll);
}
FAILED test: test_innerScrollbars 3 ms
_AssertFailure: assertEqual() failed:
expected
(0,-10)
but got
(0,-1)
with hint:
8542_strict max failed
ERROR IN:
function test_8542(){
var fudge = 0;
if(has("ie") <= 6){
fudge = dojo.byId('8542_quirks').contentWindow.document.body.clientHeight-100; // needed for running inside DOH runner
}
generateTest('8542_strict', "(0,-10)", "(0,+20)");
generateTest('8542_quirks', "(0,-"+(10-fudge)+")", "(0,+"+(20-fudge)+")");
generateTest('8542_loose_rtl', "(0,-10)", "(0,+20)");
generateTest('8542_quirks_rtl', "(0,-"+(10-fudge)+")", "(0,+"+(20-fudge)+")");
}
FAILED test: test_8542 3 ms
_AssertFailure: assertEqual() failed:
expected
(+10,+20)
but got
(-1,-1)
with hint:
tooBig_strict max failed
ERROR IN:
function test_tooBig(){
var fudge = 0;
if(has("ie") <= 6){
fudge = dojo.byId('tooBig_quirks').contentWindow.document.body.clientHeight-100+innerScrollBarSize; // needed for running inside DOH runner
}
var minScroll, maxScroll;
generateTestXY('tooBig_strict', outerScrollBarSize+10,outerScrollBarSize+20, 1,1);
generateTestXY('tooBig_quirks', outerScrollBarSize+10-fudge,outerScrollBarSize+20-fudge, 1,1);
if(has("ie") <= 7 || has("mozilla") || has("webkit")){
maxScroll = -1;
}else if(has("ie")){
maxScroll = +20;
}else if(has("opera")){
maxScroll = -90;
}else{
maxScroll = outerScrollBarSize+10;
}
if(has("ie") <= 7 || has("mozilla") || has("webkit")){
minScroll = -20;
}else if(has("opera")){
minScroll = 80 + outerScrollBarSize;
}else{
minScroll = 1;
}
generateTestXY('tooBig_loose_rtl', maxScroll,outerScrollBarSize+20, minScroll,1);
if(has("ie") >= 8){
maxScroll = -1;
}
if(has("ie") == 8){
minScroll = -20;
}
generateTestXY('tooBig_quirks_rtl', maxScroll,outerScrollBarSize+20-fudge, minScroll,1);
}
FAILED test: test_tooBig 2 ms
_AssertFailure: assertEqual() failed:
expected
(0,-70)
but got
(0,-1)
with hint:
htmlPadding_strict max failed
ERROR IN:
function test_htmlPadding(){
var fudge = 0;
if(has("ie") <= 6){
fudge = dojo.byId('tooBig_quirks').contentWindow.document.body.clientHeight-100+innerScrollBarSize; // needed for running inside DOH runner
}
var minScroll, maxScroll;
if(has("ie") <= 7){
maxScroll = minScroll = 84;
}else{
maxScroll = minScroll = 70;
}
generateTest('htmlPadding_strict', "(0,-"+maxScroll+")", "(0,+"+minScroll+")");
generateTest('htmlPadding_loose_rtl', "(0,-"+maxScroll+")", "(0,+"+minScroll+")");
if(has("ie") <= 8){
maxScroll = minScroll = 34;
}
generateTest('htmlPadding_quirks', "(0,-"+(maxScroll-fudge)+")", "(0,+"+(minScroll-fudge)+")");
generateTest('htmlPadding_quirks_rtl', "(0,-"+(maxScroll-fudge)+")", "(0,+"+(minScroll-fudge)+")");
}
FAILED test: test_htmlPadding 1 ms
Total time for GROUP " dojo.window.scroll " is 321ms
Total time for GROUP " dojo.window.scroll " is 321ms
------------------------------------------------------------
| TEST SUMMARY:
------------------------------------------------------------
15 tests in 1 groups
0 errors
10 failures
Hover over HTML elements in the main page. Click to hold selection.