Opened 14 years ago
Closed 14 years ago
#1989 closed defect (fixed)
dojo.html.setMarginBox() etc. returns {width: true, height: true}
Reported by: | bill | Owned by: | Bryan Forbes |
---|---|---|---|
Priority: | high | Milestone: | 0.9 |
Component: | HTML | Version: | 0.4 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
Seems like dojo.html.set*Box() functions were meant to return the actual width/height set, a structure like {width: 500, height: 300} but they just returns booleans about whether or not it was able to set the height.
In any case, the API documentation needs to be improved. It says that the function returns "object", which is accurate, but too vague. Need to list the contents of the object.
Note: See
TracTickets for help on using
tickets.
new 0.9 API returns what bill expected.