Opened 12 years ago
Closed 12 years ago
#11422 closed bug (invalid)
OUTERWIDTH / HEIGHT, INNERWIDTH / HEIGHT - RETURN INCORRECT VALUE
Reported by: | Owned by: | ||
---|---|---|---|
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.
Change History (3)
comment:1 Changed 12 years ago by
Owner: | set to duzzers@… |
---|---|
Status: | new → pending |
comment:2 Changed 12 years ago by
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!
comment:3 Changed 12 years ago by
Component: | unfiled → dimensions |
---|---|
Priority: | undecided → low |
Resolution: | → invalid |
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
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.