#9400 closed defect (fixed)
dojox.gfx - zero width or height throws errpr
Reported by: | Mike Wilcox | Owned by: | Mike Wilcox |
---|---|---|---|
Priority: | high | Milestone: | 1.4 |
Component: | DojoX GFX | Version: | 1.3.0 |
Keywords: | Cc: | Eugene Lazutkin | |
Blocked By: | Blocking: |
Description
VML handles NaN, but not zero. vml.js line 225: if(isNaN(l)) l = 0; if(isNaN(t)) t = 0; if(isNaN(w)) w = 1; if(isNaN(h)) h = 1; ...if w or h is zero, the origin var fails with a divide by zero.
Change History (4)
comment:1 Changed 13 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:3 Changed 13 years ago by
comment:4 Changed 13 years ago by
Milestone: | tbd → 1.4 |
---|
Note: See
TracTickets for help on using
tickets.
(In [17933]) Fixes #9400 - prevent h or w from being zero and dividing in origin var.