Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
1 changed file
with
2 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -344,7 +344,8 @@ function getWH( elem, name, extra ) { | ||
// We're addressing the way Firefox handles certain inputs and buttons, | ||
// offsetWidth/height actually returns a normal width/height | ||
boxSizing = rinputbutton.test( elem.nodeName ) && | ||
curCSS( elem, "-moz-box-sizing" ) === "border-box"; | ||
( curCSS( elem, "-moz-box-sizing" ) === "border-box" || | ||
curCSS( elem, "box-sizing" ) === "border-box" ); | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
timmywil
Member
|
||
|
||
// IE will return auto if we try to grab a width/height that is not set | ||
if ( boxSizing || cur === "auto" ) { | ||
Curious about the bug here. Would you explain the issue?