- From: Ian Hickson <ian@hixie.ch>
- Date: Tue, 20 Jul 2004 11:48:38 +0000 (UTC)
- To: www-svg@w3.org
In SVG 1.1, section 11.2 Specifying paint [1], it says: # <uri> # [ none | # currentColor | # <color> [icc-color(<name>[,<icccolorvalue>]*)] What is the syntax being used to describe the syntax of properties and attributes like here? I had assumed it was the CSS syntax [2], but in CSS square brackets denote grouping, not optionality, so it doesn't appear to be the case. However, I couldn't find the definition of the syntax used here anywhere. Later in that section it says: # ... The <uri> provides the ID of the paint server (e.g., a gradient, # pattern or solid color) to be used to paint the current object. The link for "solid color" is broken, but I couldn't work out where it should be pointing. How does one specify a solid color? (I would have thought that one could just use the <color> syntax instead of a URI.) [1] http://www.w3.org/TR/SVG/painting.html#SpecifyingPaint [2] http://www.w3.org/Style/Group/css2-src/about.html#q7 Cheers, -- Ian Hickson U+1047E )\._.,--....,'``. fL http://ln.hixie.ch/ U+263A /, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'
Received on Tuesday, 20 July 2004 07:48:50 UTC