Re: Idea: background-image-frame attribute

> 
> 
> Pretty wide spreaded situation when images are used to show different states 
> of buttons/hyperlinks/etc.

It's not clear to me that this usage does constitute a background image.  It
seems to me that the images are likely to be foreground and the whole process
is somewhat behavioural.

>      background-image: url(nextpage.png);
>      background-image-frame: 0px 0px 10px 10px;

I don't like this.  It seems, to me, to be supporting a hack.  If one wants to
support image libraries, I would suggest a better approach would be to define
fragment micro-syntaxes for various image formats; for some formats, which 
permit multiple images, that might simply be the image sequence number.  That
might mean that authors needed to use better tools, in order to access the
full capabilities of their imaage formats.

It would also gracefully degrade better, as the fallback behaviour for the
proposal is to display on and off states simultaneously, whereas most renderers
will only display the first image of a sequence.

Note also, that the units that were clearly intended here were image pixels,
not CSS pixels, so should be pure numbers, if this proposal were to be
more directly adopted.

Received on Sunday, 1 January 2006 11:13:29 UTC