W3C home > Mailing lists > Public > www-style@w3.org > March 2011

[CSS21] Issue 283 - undefining size of replaced elements with intrinsic ratio only

From: fantasai <fantasai.lists@inkedblade.net>
Date: Tue, 22 Mar 2011 15:24:51 -0700
Message-ID: <4D8921B3.3050701@inkedblade.net>
To: "www-style@w3.org" <www-style@w3.org>
Proposal:

In 10.3.2
   # If 'height' and 'width' both have computed values of 'auto' and the element
   # has an intrinsic ratio but no intrinsic height or width and the containing
   # block's width does not itself depend on the replaced element's width, then
   # the used value of 'width' is calculated from the constraint equation used
   # for block-level, non-replaced elements in normal flow.

Replace "is calculated" with
   | is undefined. However it is suggested that it be calculated.

In 10.6.2
   # Otherwise, if 'height' has a computed value of 'auto', and the element has
   # an intrinsic ratio then the used value of 'height' is: (used width) / (intrinsic ratio)

Replace "is: (used width) / (intrinsic ratio)" with
   | is undefined. However it is suggested that it be calculated from the used
   | width and intrinsic ratio so that the aspect ratio is preserved.

~fantasai
Received on Tuesday, 22 March 2011 22:25:25 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:38 GMT