diff --git a/boxsizing.htc b/boxsizing.htc index 579e768..a65d660 100644 --- a/boxsizing.htc +++ b/boxsizing.htc @@ -469,7 +469,7 @@ function updateBorderBoxHeight() { } csh = element.currentStyle.minHeight; - if(csh != "none"){ + if(csh != "none" && csh != "100%"){ csh = getPixelHeight(element,csh); if(csh !== "none"){ if(getBoxSizing() == "border-box"){ @@ -482,7 +482,7 @@ function updateBorderBoxHeight() { } csh = element.currentStyle.maxHeight; - if(csh != "none"){ + if(csh != "none" && csh != "100%"){ csh = getPixelHeight(element,csh); if(csh !== "none"){ if(getBoxSizing() == "border-box"){