It's a bug; you have to force the height declaration to obtain the desired effect; I've made this fiddle.
So, I suggest you to use .height() metod in jQuery or other js framework to calculate the real height of the
and to add an inline style at fly. It's quite unobtrusive.
I hope I was helpful.