W3C home > Mailing lists > Public > public-svg-wg@w3.org > October to December 2008

Setting url() values for fill and stroke using traits

From: Cameron McCormack <cam@mcc.id.au>
Date: Fri, 24 Oct 2008 12:33:27 +1100
To: public-svg-wg@w3.org
Message-ID: <20081024013327.GC16875@arc.mcc.id.au>

Hello WG.

In the uDOM trait table, the entry for the 'fill' property states that
getTrait() and setTrait() are used as follows:

    [none | <color> | <system paint> | IRI]

  setTrait("fill", ...)
    [none | currentColor | IRI | <color> | <system paint> | inherit]

But the navigation properties explicitly mention the “url()” that go
around the IRI reference:

    [auto | self | url(<Local IRI Reference>)]

  setTrait("nav-right", ...)
    [auto | self | url(<Local IRI Reference>)]

This makes it look as if the trait accessors for 'fill' just take and
return a bare IRI without the surrounding “url()”.  I just want to
confirm that that’s not true, and that the “url()” should be listed



Cameron McCormack ≝ http://mcc.id.au/
Received on Friday, 24 October 2008 01:34:12 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:20:09 UTC