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

On 3/22/11 7:13 PM, Tab Atkins Jr. wrote:
>> 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.
>
> No browser uses the aspect ratio of the contents to calculate the size
> of the replaced element.  I don't think we should spec this.

Uh... last I checked, every single UA does this.  If I take a 100px by 
100px image and I style it with "width: 200px" then it'll get rendered 
at 200px by 200px.

-Boris

Received on Tuesday, 22 March 2011 23:57:43 UTC