W3C home > Mailing lists > Public > www-svg@w3.org > March 2012

Re: Color values to represent floating point colors

From: Chris Lilley <chris@w3.org>
Date: Mon, 5 Mar 2012 17:04:30 +0100
Message-ID: <10110318768.20120305170430@w3.org>
To: Kari Pihkala <kari.pihkala@gmail.com>
CC: www-svg@w3.org
On Thursday, March 1, 2012, 5:43:38 PM, Kari wrote:


KP> However, few paragraphs later, the SVG 1.1 spec defines the
KP> percentage values as integers, which seems to go against the CSS
KP> spec: "rgb(" wsp* integer "%" comma integer "%" comma integer "%" wsp* ")"
KP>   http://www.w3.org/TR/SVG/types.html#DataTypeColor

Good catch, the formal syntax is wrong there. Floating point values are allowed.

We need to make an errata item for this, and ensure that SVG2 does not have the same error.


-- 
 Chris Lilley   Technical Director, Interaction Domain                 
 W3C Graphics Activity Lead, Fonts Activity Lead
 Co-Chair, W3C Hypertext CG
 Member, CSS, WebFonts, SVG Working Groups
Received on Monday, 5 March 2012 16:04:38 GMT

This archive was generated by hypermail 2.3.1 : Friday, 8 March 2013 15:54:50 GMT