IE8 bug - max-height is rendered as height when there's a horizontal scrollbar

Back

These boxes should be green only.

If you see red, the box is too tall.

This is caused by max-height being rendered as height.

Box 2