Re: Color values to represent floating point colors

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 UTC