- From: Cameron McCormack <cam@mcc.id.au>
- Date: Fri, 06 Sep 2013 08:38:36 +1000
- To: www-style list <www-style@w3.org>
Hello www-style,
Here are the review comments from the SVG WG on the 20 June 2013 LCWD of
css-variables-1.
1. [This is not a comment on the specification per se, but something
that came to mind while reviewing.] The current plan for the
SVG-in-OpenType proposal is to allow the font to define one or more
palettes that can be selected from, or to have author defined colour
values for palette entries. Within the SVG document that defines the
glyphs, palette colours will be reflected by applying a user agent style
sheet of the form:
:root {
var-color0: rgba(..., ..., ..., ...);
var-color1: rgba(..., ..., ..., ...);
}
Do you feel this is an acceptable use of custom properties, or should
there be a way to reference palette entries that does not use some of
the space of the normally user defined custom properties?
2. We would like to have the ability to animate CSS Variable values,
although this is not something we need to see in Level 1.
3. Another feature that we had planned to support as part of SVG
Parameters, but which could be subsumed by CSS Variables, is the ability
to pass in variable definitions from a containing document. For
example, being able to implement
http://css-tricks.com/examples/IconFont/ (where colour, shadow, etc. can
be changed) using SVG documents rather than font glyphs. This also does
not need to be solved for Level 1.
4. The SVG WG has no other issues with CSS Variables at this time.
Thanks,
Cameron
/for the SVG WG
Received on Thursday, 5 September 2013 22:39:10 UTC