W3C home > Mailing lists > Public > www-svg@w3.org > July 2004

Questions about SVG 1.1, 11.2 Specifying paint

From: Ian Hickson <ian@hixie.ch>
Date: Tue, 20 Jul 2004 11:48:38 +0000 (UTC)
To: www-svg@w3.org
Message-ID: <Pine.LNX.4.58.0407201139260.18989@dhalsim.dreamhost.com>

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

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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:54:02 UTC