#7588 closed defect (fixed)
AccordionContainer doesnt sanity check _getTargetHeight
Reported by: | Sam Foster | Owned by: | Sam Foster |
---|---|---|---|
Priority: | high | Milestone: | 1.2 |
Component: | Dijit | Version: | 1.2beta |
Keywords: | Cc: | Dustin Machi | |
Blocked By: | Blocking: |
Description
If the accordioncontainer has 0 or small height, _getTargetHeight can be negative, which is bad (setting a height/width style to a negative px value yields a 'invalid argument' error in IE)
Change History (2)
comment:1 Changed 13 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:2 Changed 13 years ago by
Milestone: | tbd → 1.2 |
---|
Note: See
TracTickets for help on using
tickets.
(In [15116]) Added a Math.min around _getTargetHeight's value to ensure it returns at least 0 fixes #7588