Re: [CSS Images] syntax for color interpolation hint

On Fri, Oct 3, 2014 at 12:22 PM, Rik Cabanier <cabanier@gmail.com> wrote:

> On Thu, Oct 2, 2014 at 9:06 PM, Robert O'Callahan <robert@ocallahan.org>
> wrote:
>
>> I'm unconvinced this syntax is a good idea. Using a fake color stop for
>> this purpose just seems like a hack.
>>
>
> Why is this a hack? It matches how authoring tools present midpoints in
> their UI's: they are shown as color stops with no color
>

Do you mean "some Adobe authoring tool" or a broad range of authoring tools?


>
>> If someone accidentally leaves out a color from a color stop they will
>> trigger this feature accidentally. It also means there are edge cases we
>> have to check for and reject in the parser, e.g. consecutive fake color
>> stops. It's also not particularly extensible; we're consuming this part of
>> the syntax (color-less stop) for a particular feature that isn't directly
>> related to that syntax.
>>
>
> Why do you think it's not extensible? If we want to support more midpoints
> later, we can certainly add support for that by being more permissive
>

Adding alternative interpolation functions, for example.


>
>
>> For an obscure feature like this, can't we afford to be more explicit.
>> e.g. attach an interpolation() function to the color-stop before the
>> interval we want to change the interpolation of?
>>
>
> That is very confusing because the midpoint applies to the curve of both
> color stops.
>

OK, then explicit interpolation() values between stops.

Rob
-- 
oIo otoeololo oyooouo otohoaoto oaonoyooonoeo owohooo oioso oaonogoroyo
owoiotoho oao oboroootohoeoro oooro osoiosotoeoro owoiololo oboeo
osouobojoeocoto otooo ojouodogomoeonoto.o oAogoaoiono,o oaonoyooonoeo
owohooo
osoaoyoso otooo oao oboroootohoeoro oooro osoiosotoeoro,o o‘oRoaocoao,o’o
oioso
oaonosowoeoroaoboloeo otooo otohoeo ocooouoroto.o oAonodo oaonoyooonoeo
owohooo
osoaoyoso,o o‘oYooouo ofooooolo!o’o owoiololo oboeo oiono odoaonogoeoro
ooofo
otohoeo ofoioroeo ooofo ohoeololo.

Received on Saturday, 4 October 2014 03:31:51 UTC