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

ISSUE-2158 (getSetTrait-url): get and setTrait with url() syntax [Last Call: SVG 1.2 Tiny ]

From: SVG Working Group Issue Tracker <sysbot+tracker@w3.org>
Date: Fri, 24 Oct 2008 07:34:31 +0000 (GMT)
To: public-svg-wg@w3.org
Message-Id: <20081024073431.6E7D3C6DAE@barney.w3.org>


ISSUE-2158 (getSetTrait-url): get and setTrait with url() syntax [Last Call: SVG 1.2 Tiny ]

http://www.w3.org/Graphics/SVG/WG/track/issues/2158

Raised by: Cameron McCormack
On product: Last Call: SVG 1.2 Tiny 

http://lists.w3.org/Archives/Public/public-svg-wg/2008OctDec/0233.html

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

  getTrait("fill")
    [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:

  getTrait("nav-right")
    [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
there.
Received on Friday, 24 October 2008 07:34:40 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 24 October 2008 07:34:42 GMT