| |
Visual formatting model details |
 | | A percentage height on the root element is relative to the initial containing block. |
 | | Otherwise, if 'height' has a computed value of 'auto', but none of the conditions above are met, then the used value of 'height' must be set to the height of the largest rectangle that has a 2:1 ratio, has a height not greater than 150px, and has a width not greater than the device width. |
 | | If it has block-level children, the height is the distance between the top border-edge of the topmost block-level child box that doesn't have margins collapsed through it and the bottom border-edge of the bottommost block-level child box that doesn't have margins collapsed through it. |
| www.w3.org /TR/CSS21/visudet.html (5959 words) |