W3C home > Mailing lists > Public > www-style@w3.org > April 2009

[CSS] about compound attributes.

From: Andrew Fedoniouk <news@terrainformatica.com>
Date: Thu, 02 Apr 2009 20:33:37 -0700
Message-ID: <49D58391.7060608@terrainformatica.com>
To: CSS <www-style@w3.org>
Consider task of defining animation[1] of background-position[2] 
attribute values.

As an example: the desire is to be able to animate vertical and 
horizontal positions of the background image using different timing 
functions.

Similar requirement is for accessing such compound values from scripting.

I think it would be nice if each shortcut attribute like 
background-position above will have also scalar counterparts like
'border-width' (shortcut) and 'border-width-top' (corresponding scalar 
value).

If it is too much then how to deal with compound attributes in animation 
and the like cases?

[1] http://www.w3.org/TR/css3-animations
[2] http://www.w3.org/TR/CSS21/colors.html#propdef-background-position

-- 
Andrew Fedoniouk.

http://terrainformatica.com
Received on Friday, 3 April 2009 03:34:01 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:17 GMT