Bug Tracker

Opened 10 years ago

Closed 10 years ago

#13079 closed bug (notabug)

outerWidth() returning an object...

Reported by: [email protected] Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: git
Keywords: Cc:
Blocked by: Blocking:


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 10 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 10 years ago by fastfasterfastest

FYI, documentation bugs should be reported at https://github.com/jquery/api.jquery.com/issues

Version 0, edited 10 years ago by fastfasterfastest (next)

comment:3 Changed 10 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 10 years ago by dmethvin

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