Opened 9 years ago

Closed 9 years ago

Last modified 8 years ago

#12477 closed defect (fixed)

tests.window.scroll failing on FF4, IE9

Reported by: bill Owned by: Douglas Hays
Priority: high Milestone: 1.5.2
Component: HTML Version: 1.6.0
Keywords: ff4, ie9 Cc:
Blocked By: Blocking:

Description

This is from runTests.html, didn't try standalone.

 GROUP "dojo.window.scroll" has 15 tests to run
 PASSED test: ../../dojo/tests/window/test_scroll.html::dojo.window.scroll::checkAttrs 1 ms
 ReferenceError: scrollMin is not defined
     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: ../../dojo/tests/window/test_scroll.html::dojo.window.scroll::test_8249 257 ms
 PASSED test: ../../dojo/tests/window/test_scroll.html::dojo.window.scroll::test_8284 37 ms
 PASSED test: ../../dojo/tests/window/test_scroll.html::dojo.window.scroll::test_absContent 20 ms
 PASSED test: ../../dojo/tests/window/test_scroll.html::dojo.window.scroll::test_fixedNode 18 ms
 PASSED test: ../../dojo/tests/window/test_scroll.html::dojo.window.scroll::test_fixedScrollable 22 ms
 PASSED test: ../../dojo/tests/window/test_scroll.html::dojo.window.scroll::test_7036_8665 23 ms
 PASSED test: ../../dojo/tests/window/test_scroll.html::dojo.window.scroll::test_innerNoScrollBars 27 ms
 PASSED test: ../../dojo/tests/window/test_scroll.html::dojo.window.scroll::test_noScrollBars 15 ms
 PASSED test: ../../dojo/tests/window/test_scroll.html::dojo.window.scroll::test_bottomFloated 19 ms
 PASSED test: ../../dojo/tests/window/test_scroll.html::dojo.window.scroll::test_table 30 ms
     _AssertFailure: http://mac/clean/dojo/_base/_loader/bootstrap.js:585 doh._AssertFailure: assertEqual() failed:
  expected (-12,-12) but got (-1,-12) with hint: innerScrollbars_loose_rtl max failed
 doh._AssertFailure
     ERROR IN:
  (function test_innerScrollbars() {var scroll = sb - 5;generateTestXY("innerScrollbars_strict", - scroll, - scroll, scroll, scroll);generateTestXY("innerScrollbars_loose_rtl", - scroll, - scroll, dojo.isIE == 7 ? -25 : scroll, scroll);generateTestXY("innerScrollbars_quirks", - scroll, - scroll, scroll, scroll);generateTestXY("innerScrollbars_quirks_rtl", - scroll, - scroll, scroll, scroll);})
 FAILED test: ../../dojo/tests/window/test_scroll.html::dojo.window.scroll::test_innerScrollbars 343 ms

Attachments (1)

12477.patch (18.8 KB) - added by Douglas Hays 9 years ago.
patch to fix FF4, IE9, Chrome 10

Download all attachments as: .zip

Change History (10)

comment:1 Changed 9 years ago by Chris Mitchell

Keywords: ff4 added

comment:2 Changed 9 years ago by Douglas Hays

Milestone: tbd1.6.1

comment:3 Changed 9 years ago by Douglas Hays

Keywords: ie9 added
Status: newassigned

Also, many more tests are failing on IE9

Changed 9 years ago by Douglas Hays

Attachment: 12477.patch added

patch to fix FF4, IE9, Chrome 10

comment:4 Changed 9 years ago by Douglas Hays

Bill, this patch seems to work for me on IE6/7/8/9, FF3.6/4, Safari 4/5, Chrome 10, Opera 11, all on Windows. Please test as desired to verify it works for you.

comment:5 Changed 9 years ago by bill

Summary: tests.window.scroll failing on FF4tests.window.scroll failing on FF4, IE9

It's working in general, works for FF4 and IE9, IE6, IE7. I'm getting two failures on IE8 though:

_AssertFailure: doh._AssertFailure: assertEqual() failed:
	expected
		(0,-11)
	but got
		(0,-10)

 with hint: 
		8284_strict max failed
: assertEqual() failed:
	expected
		(0,-11)
	but got
		(0,-10)

 with hint: 
		8284_strict max failed

and

_AssertFailure: doh._AssertFailure: assertEqual() failed:
	expected
		(+31,+41)
	but got
		(+27,+37)

 with hint: 
		tooBig_strict max failed
: assertEqual() failed:
	expected
		(+31,+41)
	but got
		(+27,+37)

 with hint: 
		tooBig_strict max failed

That's from running the test standalone.

There are some iframes in the test that don't show any red at all, for example the last three iframes of "oversized content".

comment:6 Changed 9 years ago by Douglas Hays

(In [24206]) Fixes #12477, #12446. Added support for FF4 having the scrollbar on the left in RTL mode. Added support for IE9 munging iframe behavior to match parent container DOCTYPE/compatMode. Tweaked test numbers for FF4/IE9/Chrome10. !strict

comment:7 Changed 9 years ago by Douglas Hays

(In [24207]) Refs #12477, #12446. Backport [24206] to 1.6.1. !strict

comment:8 Changed 9 years ago by Douglas Hays

Resolution: fixed
Status: assignedclosed

comment:9 Changed 8 years ago by Kenneth G. Franqueiro

Milestone: 1.6.11.5.2

Updating milestone to 1.5.2 to reflect inclusion in changeset [26956] for ticket #14199.

Note: See TracTickets for help on using tickets.