Opened 12 years ago

Closed 12 years ago

#3720 closed defect (fixed)

0.9: base.html tests fail on IE 6.0

Reported by: Jared Jurkiewicz Owned by: Adam Peller
Priority: high Milestone: 0.9
Component: HTML Version: 0.9
Keywords: Cc:
Blocked By: Blocking:

Description

PASSED test: ../../dojo/tests/_base/html.html::t::isDescendant

[object Error] ERROR IN: function isDescendantIframe(t){ var bif = dojo.byId("blah"); bif.contentDocument.write(""); bif.contentDocument.close(); this test barely makes sense. disabling it for now. t.t(dojo.isDescendant(bif.contentDocument.getElementById("subDiv"), bif.parentNode)); var subDiv = bif.contentDocument.getElementById("subDiv"); t.t(dojo.isDescendant(subDiv, subDiv)); t.t(dojo.isDescendant(subDiv, subDiv.parentNode)); t.f(dojo.isDescendant(subDiv.parentNode, subDiv)); }

FAILED test: ../../dojo/tests/_base/html.html::t::isDescendantIframe

Change History (4)

comment:1 Changed 12 years ago by Adam Peller

(In [9602]) IE doesn't support iframe.contentDocument. Refs #3720

comment:2 Changed 12 years ago by Adam Peller

(In [9603]) Ugh. We were off by a scrollbar. Fixed logic in getIeDocumentElementOffset (thanks, Justin) Refs #3720

comment:3 Changed 12 years ago by Adam Peller

Owner: changed from Bryan Forbes to Adam Peller

comment:4 Changed 12 years ago by Adam Peller

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.