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

Re: Setting url() values for fill and stroke using traits

From: Chris Lilley <chris@w3.org>
Date: Fri, 24 Oct 2008 09:44:52 +0200
Message-ID: <1915487254.20081024094452@w3.org>
To: Cameron McCormack <cam@mcc.id.au>
CC: public-svg-wg@w3.org

On Friday, October 24, 2008, 3:33:27 AM, Cameron wrote:

CM> Hello WG.

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

CM>   getTrait("fill")
CM>     [none | <color> | <system paint> | IRI]

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

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

CM>   getTrait("nav-right")
CM>     [auto | self | url(<Local IRI Reference>)]

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

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

Hi Cameron, 

we just discussed this (thanks for calling in) and yes, you are correct. Please confirm this meets your comment.

Oh and you have  ACTION-2331 - Correct spec re ISSUE-2158 [on Cameron McCormack - due 2008-10-31]. to fix it.

 Chris Lilley                    mailto:chris@w3.org
 Technical Director, Interaction Domain
 W3C Graphics Activity Lead
 Co-Chair, W3C Hypertext CG
Received on Friday, 24 October 2008 07:45:03 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:29:40 UTC