Opened 13 years ago

Closed 12 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.

Change History (1)

comment:1 Changed 12 years ago by Adam Peller

Resolution: fixed
Status: newclosed

new 0.9 API returns what bill expected.

Note: See TracTickets for help on using tickets.