Re: SVG12: system colors

On Sunday, January 29, 2006, 9:23:26 PM, Bjoern wrote:

BH> * Chris Lilley wrote:
>>BH>   From http://www.w3.org/TR/2005/WD-SVGMobile12-20050413/types.html
>>
>>BH> [...]
>>BH>   In addition to these color keywords, users may specify keywords that
>>BH>   correspond to the colors used by objects in the user's environment.
>>BH>   The normative definition of these keywords is [CSS2 system colors].
>>BH> [...]
>>
>>BH> System colors are http://www.w3.org/TR/2003/CR-css3-color-20030514/
>>BH> deprecated in css3-color, it is unclear from the draft
>>
>>you are talking about the SVG draft or the CSS one?
>>
>>Its very clear in the CSS3 draft that the system colors are deprecated.
>>Its very clear in the SVG one that they are not deprecated.

BH> Yes, if I make a style sheet for a compound XHTML+SVG document I would
BH> not know whether system colors are okay or not,

I agree that the lack of versioning information in CSS stylesheets,
contrary to AWWW, makes this problematic.

BH>  or for which properties,
BH> neither would I know how to implement proper warnings for deprecated
BH> features in the CSS Validator, for example.

The CSS validator should let the user select which version of CSS is
being validated against, since it can't be determined from the content.

BH>  I see you've now copied and
BH> pasted the definition for system colors and modified it a bit.

In response to

a) a last call comment asking us to either reference the CSS
spec or define it ourselves
b) a last call comment asking us to figure out how to handle rgba()
syntax that the CSS WG added against SVG WG objections
c) the CSS WG deprecating a feature that SVG implementors want to keep

yes, we created our own definition which addresses those comments. Its
also renamed to system paint, because its not just a color but a paint.

BH>  This is
BH> exactly the wrong way to make a good specification, please define system
BH> colors through normative reference to either CSS 2.1 or css3-color,
BH> possibly modified to address any concerns you might have.

It would be great to see CSS 2.1 and css3-color modified to address our
concerns; while we wait for that to happen, our definition fills a
useful need.


-- 
 Chris Lilley                    mailto:chris@w3.org
 Chair, W3C SVG Working Group
 W3C Graphics Activity Lead
 Co-Chair, W3C Hypertext CG

Received on Sunday, 5 February 2006 16:30:39 UTC