Bug Tracker

Opened 6 years ago

Closed 6 years ago

#11422 closed bug (invalid)


Reported by: duzzers@… Owned by: duzzers@…
Priority: low Milestone: None
Component: dimensions Version: 1.7.1
Keywords: Cc:
Blocked by: Blocking:


Create the same bug http://bugs.jquery.com/ticket/11232, as it is still present.

.item { padding: 5px 5px 5px 1px; width: 10px; }
$('.item').innerWidth() // will return: 20

And this is incorrect - should return: width + padding-left + padding-right = 16 The same thing is for outer methods.

Change History (3)

comment:1 Changed 6 years ago by sindresorhus

Owner: set to duzzers@…
Status: newpending

Thanks for taking the time to contribute to the jQuery project! Please provide a complete reduced test case on jsFiddle to help us assess your ticket.

Additionally, be sure to test against the jQuery Edge version to ensure the issue still exists. To get you started, use this boilerplate: http://jsfiddle.net/FrKyN/ Open the link and click to "Fork" (in the top menu) to get started.

comment:2 Changed 6 years ago by duzzers@…

Status: pendingnew

Hmmm, It works right. I can't remember bad conditions. We can close the ticket. If I find it, I will report.


comment:3 Changed 6 years ago by sindresorhus

Component: unfileddimensions
Priority: undecidedlow
Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.