W3C home > Mailing lists > Public > whatwg@whatwg.org > May 2006

[whatwg] Spec errors (Canvas & Storage)

From: Jens Bannmann <jens.b@web.de>
Date: Sun, 14 May 2006 08:43:19 +0200
Message-ID: <4466D187.1060202@web.de>
1) Canvas (chapter 6.1.1.4):

 > If the value has alpha less than 1.0, then the value must instead be
 > returned in the CSS rgba()  functional-notation format: the literal
 > string rgba (U+0072 U+0067 U+0062 U+0061) followed by a U+0028 LEFT
 > PARENTHESIS, a base-ten integer in the range 0-255 representing the
 > red component (using digits 0-9, U+0030 to U+0039), a literal U+0020
 > SPACE and U+002C COMMA, an integer for the green component, a space
 > and a comma, an integer for the blue component, another space and
 > comma, a U+0030 DIGIT ZERO, a U+002E FULL STOP (representing the
 > decimal point), one or more digits in the range 0-9 (U+0030 to
 > U+0039) representing the fractional part of the alpha value, and
 > finally a U+0029 RIGHT PARENTHESIS.

This would result in "rgba(255 ,64 ,64 ,128)". I guess the spaces should
be following the comma, so the order of "comma" and "space" should be
reversed each of the three times it is mentioned.

I already sent this to the list on March 20th, and Olli Pettay sent a 
mail a few hours earlier, but both went unnoticed.


2) While we are at it: do we really want a returned value of
    "rgba(064, 007, 00000000009, 128)"
to be legal? I suppose a CSS parser would allow it, but as we're
specifying the exact format here, the spec should probably
explicitly disallow (or even allow?) zero-padded integers.


3) Storage (chapter 4.9.8.4.):
http://example.com/:18080 should be http://example.com:18080/


Regards,
Jens
Received on Saturday, 13 May 2006 23:43:19 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:27 UTC