W3C home > Mailing lists > Public > www-style@w3.org > June 2012

Re: [css4-values] basic data types in SVG

From: Simon Sapin <simon.sapin@kozea.fr>
Date: Sun, 10 Jun 2012 04:43:17 +0200
Message-ID: <4FD409C5.1020700@kozea.fr>
To: www-style@w3.org
Le 10/06/2012 04:28, Cameron McCormack a écrit :
> Kang-Hao (Kenny) Lu:
>> >2. Unlike CSS2.1, wsp doesn't include form feeds, i.e. #xC. I think
>> >that's because XML doesn't allow form feeds. But #xC will appear in
>> >SVG-in-HTML and browsers support this.
>> >
>> >(Tested with
>> >
>> >data:text/html,<svg xmlns="http://www.w3.org/2000/svg"
>> >xmlns:xlink="http://www.w3.org/1999/xlink">   <rect x="100" y="100"
>> >width="100" height="100"
>> >style="stroke:black;fill:none;stroke-dasharray:2px%0C2px;"/></svg>
>> >)
>> >
>> >
>> >I think it might be nice to move this whole "Basic Data Types" section
>> >into css4-values so some of these quirky test cases can have a common home.
> Completely agree, and hopefully we can end up settling on the normal CSS
> property parsing behaviour for white space separated tokens rather than
> SVG having its own, even for presentation attributes.  I think most of
> that section can be dropped, and properties that are defined in the SVG
> spec can reference the types defined in css3-values or wherever.

I think this would be easy to do. Once we decide if property values in 
Syntax3 should preserve whitespace tokens, the value definition just has 
to look for ',' delim tokens and maybe whitespace tokens.

-- 
Simon Sapin
Received on Sunday, 10 June 2012 02:43:47 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:55 GMT