dojo.marginBox(this.domNode, size);
// Compute content box size in case we [later] need to size child// If either height or width wasn't specified by the user, then query node for it.// But note that setting the margin box and then immediately querying dimensions may return// inaccurate results, so try not to depend on it.var node = this.containerNode||this.domNode,
mb = dojo.mixin(dojo.marginBox(node), size||{});
this._contentBox = dijit.layout.marginBox2contentBox(node, mb);
// If we have a single widget child then size it to fit snugly within my bordersif(this._singleChild &&this._singleChild.resize){this._singleChild.resize(this._contentBox);
}