W3C home > Mailing lists > Public > www-style@w3.org > October 2011

RE: [css3-images] gradients and i18n

From: Brian Manthos <brianman@microsoft.com>
Date: Mon, 31 Oct 2011 06:33:01 +0000
To: fantasai <fantasai.lists@inkedblade.net>, "www-style@w3.org" <www-style@w3.org>, "public-i18n-core@w3.org" <public-i18n-core@w3.org>
Message-ID: <9710FCC2E88860489239BE0308AC5D1704402A3F@TK5EX14MBXC264.redmond.corp.microsoft.com>
> 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:33:38 UTC

This archive was generated by hypermail 2.4.0 : Monday, 23 January 2023 02:14:05 UTC