Opened 13 years ago

Closed 13 years ago

Last modified 12 years ago

#2848 closed defect (fixed)

M2: 09: animateHeight dojo.fx Unit Test fails on IE 6

Reported by: Jared Jurkiewicz Owned by: Bryan Forbes
Priority: high Milestone:
Component: General Version: 0.9
Keywords: Cc:
Blocked By: Blocking:


M2: 09: animateHeight dojo.fx Unit Test fails on IE 6

I ran the UT though IE 6 and get a failure in the animateHeight tests of IE 6, the report is:

GROUP "t" has 3 tests to run PASSED test: ../../dojo/tests/_base/fx.html::t::fadeOut PASSED test: ../../dojo/tests/_base/fx.html::t::fadeIn [object Error] ERROR IN: function(t){ var duration = 500; var foo = dojo.byId("foo"); var startHeight = dojo.marginBox(foo).h; console.debug("Start height is "+startHeight); var anim = dojo.animateProperty({ node: foo, properties: { height: { end: startHeight / 2 } }, duration: duration }); var d = new doh.Deferred(); dojo.connect(anim, "onEnd", anim, function(){ var height = dojo.marginBox(foo).h; console.debug("End height is "+height); var elapsed = (new Date().valueOf()) - anim._startTime; t.assertTrue(elapsed >= duration); console.debug("dojo.contentBox(foo).h): "+height+" Intended Height: "+(startHeight/2));, startHeight / 2); d.callback(true); });; return d; } FAILED test: ../../dojo/tests/_base/fx.html::t::animateHeight PASSED test: ../../dojo/tests/_base/fx.html

Change History (5)

comment:1 Changed 13 years ago by Jared Jurkiewicz

Milestone: 0.9M2

comment:2 Changed 13 years ago by sjmiles

(In [8305]) Help fx.html work in IE: ensure integer endHeight, set overflow: hidden to allow resizing test node. Refs #2848.

comment:3 Changed 13 years ago by sjmiles

Resolution: fixed
Status: newclosed

comment:4 Changed 13 years ago by sjmiles

(In [8309]) foo should be "foo", my bad. Refs #2848.

comment:5 Changed 12 years ago by (none)

Milestone: 0.9M2

Milestone 0.9M2 deleted

Note: See TracTickets for help on using tickets.