RE: [css3-images] gradients and i18n

> With my Internationalization hat on, I have some concerns about
> gradient syntax,
> some of which will be easy to handle in level 4, but others maybe not:
> 
> Easy:
>    - linear-gradient() directions similarly cannot be specified
> logically
>    - radial-gradient() positions cannot be specified logically
> 
> (Easy Solution: same as 'background-position' -- add logical keywords)

This was already proposed and moved to CSS4, in August.

> Not so easy:
>    - For radial-gradient(), explicit sizing is always <horizontal>
> <vertical>
>    - For radial-gradient(), fixed-length color stops are always along
> the
>      horizontal axis.
> 
> The last one is not just an i18n problem: using the horizontal axis is
> pretty arbitrary, what if I want the vertical one?

The same problem applies to background-position and background-size.  Perhaps they have the same solution (whenever that arrives) and presumably it can wait until CSS4+, since this concern didn't hold up the Background module from going to CR in February.

> A problem that is both i18n and non-i18n related: what if I want a
> circular
> gradient whose radius is farthest-side along the inline (or horizontal)
> axis?

I think I need a rendering to speak to this one.

Received on Monday, 31 October 2011 06:34:25 UTC