[whatwg] Question about gradient stops in canvas and parsing as CSS colors

Philip Taylor excors+whatwg at gmail.com
Fri Sep 24 07:06:34 PDT 2010


On Wed, Sep 22, 2010 at 3:49 PM, Anne van Kesteren <annevk at opera.com> wrote:
> On Wed, 22 Sep 2010 16:47:02 +0200, Boris Zbarsky <bzbarsky at mit.edu> wrote:
>>
>> Clearly I happen to think Gecko's behavior is the sane one here, but
>> there's a clear interoperability problem either way.  Certainly Opera and
>> Gecko interpreted the spec differently.
>
> Might be the way we invoke the CSS code. I think the Gecko behavior makes
> sense. Philip, can your test suite cover this?

Added with the Gecko behaviour (and added a few other cases - Opera
10.61 fails some like rgba-solid-3):
http://dvcs.w3.org/hg/html/diff/5a95d6481bac/tests/submission/PhilipTaylor/tools/canvas/tests2d.yaml

Run the tests from
http://test.w3.org/html/tests/submission/PhilipTaylor/canvas/index.2d.fillStyle.parse.html
or (if that's down)
http://dvcs.w3.org/hg/html/raw-file/tip/tests/submission/PhilipTaylor/canvas/index.2d.fillStyle.parse.html

-- 
Philip Taylor
excors at gmail.com



More information about the whatwg mailing list