W3C home > Mailing lists > Public > www-style@w3.org > October 2007

Re: [css21] images without intrinsic properties

From: fantasai <fantasai.lists@inkedblade.net>
Date: Thu, 11 Oct 2007 12:17:16 -0400
Message-ID: <470E4C8C.3080900@inkedblade.net>
To: Anne van Kesteren <annevk@opera.com>
CC: www-style@w3.org

Anne van Kesteren wrote:
> 
> The CSS 2.1 specification has detailed rules for replaced elements 
> dealing with images that lack one or more of the following: intrinsic 
> height, intrinsic width and intrinsic aspect ratio.
> 
> The definition for 'background-image' doesn't seem to deal in with the 
> case where you have an intrinsic height and aspect ratio but do not have 
> an intrinsic width.
> 
> The definitions for 'content', 'list-style-image' and 'cursor' don't 
> deal with such images at all. (Although maybe for 'content' you'd use 
> the rules for replaced elements and if ::marker is ever implemented 
> 'list-style-image:foo' would be some type of short hand for ::marker { 
> content:foo }.)
> 
> I think it would be nice if these cases were clarified so some proper 
> testcases on "SVG as image" support can be made hopefully ensuring that 
> new implementations will be reasonably correct from the start and 
> content won't start relying on suboptimal behavior.

Recorded as issue 10:
   http://csswg.inkedblade.net/spec/css2.1#issue-10

~fantasai
Received on Thursday, 11 October 2007 16:17:35 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:55 GMT