In this JSFiddle
A div has a margin-top of 50%. Which I would expect to adjust to the page height.
However, if you resize the window in Firefox (3 & 4), you’ll see the div’s vertical positioning is affected by the page width, but not the page height.
Why?
It does seem counter-intuitive, but is in fact in accordance to the box model for margins, which states, in the CSS level 2.1 spec:
And in the CSS3 spec (more clearly IMO):
(Bold emphases mine.)