W3C home > Mailing lists > Public > www-style@w3.org > January 2008

RE: [css21] images without intrinsic properties

From: Alan Gresley <alan1@azzurum.com>
Date: Tue, 22 Jan 2008 20:55:37 -0700
To: fantasai <fantasai.lists@inkedblade.net>
cc: www-style@w3.org
Message-ID: <20080122205537.34b83c2f3c9bef00757a2c62c0fb7450.276a6d06c0.wbe@email.secureserver.net>

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 GMT

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