Bug Tracker

Opened 9 years ago

Last modified 6 years ago

#10877 closed feature

Make outerWidth/Height a setter — at Version 4

Reported by: jzaefferer Owned by:
Priority: low Milestone: 1.8
Component: dimensions Version: 1.7.1
Keywords: Cc: scottgonzalez
Blocked by: Blocking:

Description (last modified by jzaefferer)

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 (4)

comment:1 Changed 9 years ago by scottgonzalez

Cc: scott.gonzalez added

comment:2 Changed 9 years ago by timmywil

Component: unfileddimensions
Keywords: 1.8-discuss added
Status: newopen
Type: enhancementfeature
Version: git1.7.1

comment:3 Changed 9 years ago by dmethvin

#10994 is a duplicate of this ticket.

comment:4 Changed 9 years ago by jzaefferer

Description: modified (diff)


Note: See TracTickets for help on using tickets.