I am trying to understand why Safari will not read its parent's max-height attribute as height. Both Chrome and Firefox will read it correctly, but Safari seems to ignore the parent maximum height and instead captures the height of the page.
Here you can see
CSS
body, html { height: 100%; margin: 0; } div { height: 100%; max-height: 300px; width: 100px; } div span { background: #f0f; display: block; height: 100%; }
Markup:
<div> <span></span> </div>
I am using Safari 6.0.5 on OSX 10.8.5.
source share