[css3-images] Aligning the functionality of 'image-resolution' and image()

The Image Values spec defines two ways to adjust the resolution of an image.

The first, the 'image-resolution' property, can either set the
resolution explicitly, or automatically draw the resolution from the
image's metadata (with a fallback if the image doesn't specify a
resolution in its metadata).

The second, the image() function, can set the resolution explicitly,
and further optionally tell the browser to round the stated resolution
to the nearest value that makes the ratio of image pixels to CSS px be
integral.

Obviously, there's a mismatch in functionality here.  It would be
useful to have the 'snap' functionality in 'image-resolution', and to
have the "use whatever the image says" functionality in image().

I'd like to unify the two syntaxes.  Thoughts or objections?

~TJ

Received on Friday, 27 May 2011 21:36:57 UTC