Opened 10 years ago

Closed 9 years ago

#10728 closed defect (fixed)

inconsistencies in box setter methods

Reported by: Mike Wilson Owned by: anonymous
Priority: high Milestone: 1.5
Component: General Version: 1.4.0
Keywords: Cc:
Blocked By: Blocking:

Description

The contentBox method used as setter may apparently only set size, while marginBox will also set position. Though, reading the docs I am uncertain if this is on purpose:

DOES METHOD SUPPORT SETTING POSITION?
             impl     apidocs   dojocampus
contentBox    n          y          n
marginBox     y          y          n

Either way, the implementation and docs could do with some syncing ;-)

Change History (2)

comment:1 Changed 9 years ago by James Burke

(In [22363]) Refs #10728, update docs to mention that dojo.contentBox cannot set left and top \!strict

comment:2 Changed 9 years ago by James Burke

Milestone: tbd1.5
Resolution: fixed
Status: newclosed

I updated the API docs to be correct, but feel it is better not to mention top and left setting in the dojocampus docs.

Note: See TracTickets for help on using tickets.