Opened 15 years ago

Closed 15 years ago

#2588 closed defect (wontfix)

dojo.html.isDisplayed doesn't work on IE

Reported by: guest Owned by: Bryan Forbes
Priority: high Milestone:
Component: HTML Version: 0.4.1
Keywords: dojo.html.isDisplayed style Cc:
Blocked By: Blocking:


the function dojo.html.isDisplayed() always returns true : this code :

alert("isDisplayed " + + " " + dojo.html.isDisplayed(inputElement));

shows a text box with that : "isDisplayed none true"

whereas that function is supposed to test if style.display is not 'none' !!!

the concerned input element is that way :

<input type="text" name="/something/something/@size-x" style="display: none;"/>

is the function dojo.html.isVisible better ?

Thank you for all the work you did in dojo, that's really amazing.

Change History (2)

comment:1 Changed 15 years ago by guest

Konqueror has approximately the same bugs as I.E and I have this message in the terminal where I launch Konqueror : ASSERT: "0" in css_renderstyledeclarationimpl.cpp (1052)

is it the comment you have in the dojo.html.isDisplayed function ? : FIXME: returns true if node is bad, isNotDisplayed would be easier to make correct

comment:2 Changed 15 years ago by Adam Peller

Resolution: wontfix
Status: newclosed

this function was not ported to 0.9. You can access the computed style instead.

Note: See TracTickets for help on using tickets.