Make outerWidth/Height a setter
|Reported by:||jzaefferer||Owned by:||mikesherov|
Description (last modified by )
The math required by the regular boxmodel leaves it traces in a lot of places where we need to set the width or height of an element that has border, padding or margin.
jQuery UI currently extends inner/outer/Width/Height as setters, but we only use the outerXxx methods: https://github.com/jquery/jquery-ui/blob/master/ui/jquery.ui.core.js#L132-L174
By actually integrating that in core, the require code would obviously be a lot less. For consistency it might make sense to make both outerXxx and innerXxx a setter, but really only outer is important.
Change History (20)
comment:2 Changed 5 years ago by
|Component:||unfiled → dimensions|
|Status:||new → open|
|Type:||enhancement → feature|
|Version:||git → 1.7.1|
comment:11 Changed 5 years ago by
|Milestone:||None → 1.8|
|Priority:||undecided → low|