[css21] images without intrinsic properties

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.


-- 
Anne van Kesteren
<http://annevankesteren.nl/>
<http://www.opera.com/>

Received on Saturday, 8 September 2007 10:56:49 UTC