Re: [css21] images without intrinsic properties

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 UTC