[css-shapes-2] Auto-height and shapes sizing constraints

In the current Shapes Level 2 spec, there's a paragraph that says:

  When a shape-inside has a definite size (no percentages used in the shape's definition) an auto-sized element should use the shape as a constraint in determining its maximum size. 



I propose to change that to

   An auto-sized element should use the shape as a constraint in determining its maximum size. In the case of auto-sized elements, values expressed as percentages in the auto-sized direction resolve to 0px to avoid cyclic dependency. 



because 

   (1) 0% still makes sense in all cases and 
   (2) you may want to use percentages for (fixed) width and px values for (auto) height and still get the expected behavior
   (3) otherwise what happens when the percentages are used in such a way that the shape doesn't grow when the element grows is not defined in the spec (ie: the element should become infinitely high)




Regards,
Francois 		 	   		  

Received on Tuesday, 3 September 2013 23:16:15 UTC