Skip to main content

Bug Tracker

Side navigation

#13079 closed bug (notabug)

Opened December 18, 2012 07:34PM UTC

Closed December 21, 2012 04:21AM UTC

outerWidth() returning an object...

Reported by: gharrold@gmail.com 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.

Attachments (0)
Change History (4)

Changed December 18, 2012 07:36PM UTC by anonymous comment:1

And to point out another item on the page:

.outerWidth( [includeMargin] ) Returns: Integer

  • not returns Object or Integer

Changed December 18, 2012 07:40PM UTC by fastfasterfastest comment:2

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

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

Changed December 21, 2012 04:19AM UTC by dmethvin comment:3

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.

Changed December 21, 2012 04:21AM UTC by dmethvin comment:4

resolution: → notabug
status: newclosed