Side navigation
#13205 closed bug (notabug)
Opened January 14, 2013 10:17AM UTC
Closed January 14, 2013 02:12PM UTC
element.height() alters the height of an element incorrectly when "box-sizing" is set to "border-box"
Reported by: | kuchumovn@gmail.com | Owned by: | |
---|---|---|---|
Priority: | undecided | Milestone: | None |
Component: | unfiled | Version: | 1.8.3 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
when "box-sizing" is set to "border-box", calling .height(x) on an element causes it's real height to be greater than x by the magnitude of (2 x border-width)
Attachments (0)
Change History (1)
Changed January 14, 2013 02:12PM UTC by comment:1
resolution: | → notabug |
---|---|
status: | new → closed |
.height()
is always content height.http://blog.jquery.com/2012/08/16/jquery-1-8-box-sizing-width-csswidth-and-outerwidth/