malsup / corner

jQuery Corner Plugin (by Dave Methvin and Mike Alsup)
http://jquery.malsup.com/corner/
543 stars 109 forks source link

Incorrect height in IE with min-height hack #27

Closed peterpoe closed 14 years ago

peterpoe commented 14 years ago

When rounding corner on a container using the min-height hack (http://www.dustindiaz.com/min-height-fast-hack/), the bottom corners are rendered at the 'auto' height, resulting in bad display. Solved this changing line 144 from this: var cssHeight = $.curCSS(this, 'height'); to this: var cssHeight = $(this).outerHeight()+'px';

malsup commented 14 years ago

Thanks!