On Wed, 22 Sep 2010, Boris Zbarsky wrote:
Consider this code:
gradient.addColorStop(1.0,rgba( 0, 0, 0, 0);
where |gradient| is a canvas radial gradient. Note the lack of ')' at the end
of the rgba string there.
What's the correct behavior? The spec says:
If the color
On 12/29/10 3:07 PM, Ian Hickson wrote:
* Webkit simply doesn't implement CSS 2.1 section 4.2 correctly
* Opera throws an exception from the addColorStop call above, but shows
lime text if loading this:
data:text/html,span style=color: rgb(0, 255, 0Lime/span
* Gecko shows lime text in
On Wed, Sep 22, 2010 at 3:49 PM, Anne van Kesteren ann...@opera.com wrote:
On Wed, 22 Sep 2010 16:47:02 +0200, Boris Zbarsky bzbar...@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
Consider this code:
gradient.addColorStop(1.0,rgba( 0, 0, 0, 0);
where |gradient| is a canvas radial gradient. Note the lack of ')' at
the end of the rgba string there.
What's the correct behavior? The spec says:
If the color cannot be parsed as a CSS color, then a SYNTAX_ERR
On Wed, 22 Sep 2010 16:47:02 +0200, Boris Zbarsky bzbar...@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