box-sizing-polyfill
box-sizing-polyfill copied to clipboard
Stopped it from breaking with block elements of height: 100%
If you have, say <body> or a <div> that has height 100%, the polyfill breaks. The error is pointed out in IE7 on XP as well as in the Edge debugger in IE7 mode. I believe it is because parseInt(csh) where csh is "100%" doesn't parse properly.