Side navigation
#11422 closed bug (invalid)
Opened February 29, 2012 01:04PM UTC
Closed March 01, 2012 08:23AM UTC
OUTERWIDTH / HEIGHT, INNERWIDTH / HEIGHT - RETURN INCORRECT VALUE
Reported by: | duzzers@gmail.com | Owned by: | duzzers@gmail.com |
---|---|---|---|
Priority: | low | Milestone: | None |
Component: | dimensions | Version: | 1.7.1 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
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.
Attachments (0)
Change History (3)
Changed February 29, 2012 02:13PM UTC by comment:1
owner: | → duzzers@gmail.com |
---|---|
status: | new → pending |
Changed March 01, 2012 07:21AM UTC by comment:2
status: | pending → new |
---|
Hmmm, It works right. I can't remember bad conditions.
We can close the ticket. If I find it, I will report.
Thanks!
Changed March 01, 2012 08:23AM UTC by comment:3
component: | unfiled → dimensions |
---|---|
priority: | undecided → low |
resolution: | → invalid |
status: | new → closed |
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.