Bug Tracker

Opened 6 years ago

Closed 6 years ago

#13079 closed bug (notabug)

outerWidth() returning an object...

Reported by: gharrold@… Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: git
Keywords: Cc:
Blocked by: Blocking:

Description

I now you have several other closed tickets about this. And you claim it is not a bug, if that is the case then you need to update your documentation, as you claim it should behave the same as false. From your site:

"If includeMargin is omitted or false, the padding and border are included in the calculation; if true, the margin is also included."

This new "not a bug" feature of 1.8 has broken a lot of my code.

Change History (4)

comment:1 Changed 6 years ago by anonymous

And to point out another item on the page:

.outerWidth( [includeMargin] ) Returns: Integer

  • not returns Object or Integer

comment:2 Changed 6 years ago by fastfasterfastest

FYI, documentation problems should be reported at http://github.com/jquery/api.jquery.com/issues

Last edited 6 years ago by fastfasterfastest (previous) (diff)

comment:3 Changed 6 years ago by dmethvin

Everything is working as documented in jQuery core. Check your other code to see what is shimming .outerWidth() to make it think it should chain.

Please don't create duplicate tickets.

comment:4 Changed 6 years ago by dmethvin

Resolution: notabug
Status: newclosed
Note: See TracTickets for help on using tickets.