[css3-writing-modes] Percentages for width/height logical properties

The current writing mode draft states for logical-width and logical-height that percentages are:

Percentages:	logical-width, resp. logical-height of containing block

This is incorrect.  If you have a vertical block inside a horizontal block, percentages should use the same physical dimension of the containing block.

For example logical-width refers to physical height in a vertical block.  Therefore percentage values should resolve using the physical height of the containing block (and not the logical-width of the containing block, which could be a perpendicular axis).

If you think about it, this is what physical width/height do, and it makes little sense for logical-width/height to behave differently once you've figured out what physical dimension they are.

In other words, <div style="height:50%; writing-mode: vertical-lr"> should not behave differently than <div style="logical-width:50%; writing-mode: vertical-lr">.  Both should resolve the percentage relative to the physical height of the containing block.

dave
(hyatt@apple.com)

Received on Friday, 8 October 2010 16:04:33 UTC