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

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 UTC