Re: Suggestion: Introduce new height property value for full fitting space

See here: http://stackoverflow.com/questions/15999282/css3-how-can-i-set-middle-div-to-maximum-height


I suggest to introduce a new literal keyword to the +IBw-height+IB0- property.

This new keyword is supposed to set the height of a box element to the maximum possible value after
subtracting all the heights of sibling boxes from the viewport height, thus the root box will exactly
fit the viewport+IBk-s height.

The minimum height of such box, however shall be the minimum height necessary to show its full content.

I suggest the new height literal value to be named +IBw-fit+IB0-.

If more than a single sibling box has the +IBw-fit+IB0- value assigned to its +IBw-height+IB0- property, and if there
is still room left in the viewport after adding all of those boxes+IBk- minimum heights plus their sibling
boxes+IBk- heights, then the remaining height shall be distributed between all +IBw-fit+IB0- boxes.



This new property value would help creating dynamic web pages with dynamic heading and footer content.

Without the new property value, both heading and footer boxed need a fixed height value to be assigned.
But this will render it impossible to feed these boxes with dynamic content of different length or size
(e.g. in the course of internationalization).

RFC,
Axel Dahmen

Received on Wednesday, 12 March 2014 14:22:07 UTC