RE: [css21] images without intrinsic properties

fantasai wrote:

> We also need
> 
>    "If the image has one of either an intrinsic width or an intrinsic height
>    and no intrinsic aspect ratio, then the missing dimension is matches the
>    size of the rectangle that establishes the coordinate system for the
>    'background-position' property."

This is how my proposal for the 'background-position' property would works. Without a background-width the background image matches the size of the rectangle that establishes the coordinate system for the 'background-position' property. If a background-width is given then the background image size is mapped to the of the rectangle that establishes the coordinate system for the 'background-position' property, otherwise mapped to background-origin.

The allows the same system 'in parts' for both <img> and background-position.

Alan

http://css-class.com/

Received on Wednesday, 23 January 2008 03:55:57 UTC