[CSS3 Paged Media] Margin Box Dimensions and width: auto

The rules as currently defined in
   http://dev.w3.org/csswg/css3-page/#margin-box-dimensions
don't allow an 'auto' margin-box width to be wider than its max-content
width, even if the margins are fixed and the situation is overconstrained:
explicit margins are ignored instead of allowing the 'auto' width to stretch
beyond its max-content width.

I suggest first relaxing the "used width <= preferred width" constraint,
then dropping the specified margins.

Proposed changes:

Split rule 5

   # 5. If a box's computed width is 'auto', then: preferred minimum width <=
   #    used width <= preferred width.

into

   | 5. If a box's computed width is 'auto', then its used width must be greater
   |    than its preferred minimum width.
   | 6. If a box's computed width is 'auto', then its used width must also be
   |    less than its preferred width.

   ("preferred minimum width" and "preferred width should link to 10.3.5 of CSS2.1)

Then for the next bullet

   # If the above constraints are contradictory ("over-constrained"), then the
   # right margin of the left box and the left margin of the right box are
   # treated as if their computed values were 'auto'.

rewrite as

   | If the above constraints are contradictory ("over-constrained"), then drop
   | rule 6. If they are still contradictory then the right margin of the left
   | box and the left margin of the right box are treated as if their computed
   | values were 'auto'.

~fantasai

Received on Friday, 30 November 2007 19:26:31 UTC