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

Re: Testsuite: uDom tests - setAttributeNS vs. setTrait

From: Chris Lilley <chris@w3.org>
Date: Tue, 20 May 2008 10:42:58 +0200
Message-ID: <1294455308.20080520104258@w3.org>
To: Andreas Neumann <a.neumann@carto.net>
Cc: public-svg-wg@w3.org

On Tuesday, May 20, 2008, 10:17:50 AM, Andreas wrote:

AN> Hi all,

AN> I am currently reviewing some of the assigned uDom tests.

AN> The tests use .setAttributeNS() to set attributes. I wonder if there is
AN> a prefered way to set attributes - should we use setTrait() or 
AN> setAttributeNS ?

I wasn't clear on that myself. For attributes typed as a string, traits offer no additional value. For structured types lik ecolors, it seems better to use traits. But we need to discuss this more, I think.

AN> Another question: when should the draft banner be removed or commented
AN> out? After reviewing, before creating the reference image or after the
AN> test is approved?

After approval.



-- 
 Chris Lilley                    mailto:chris@w3.org
 Interaction Domain Leader
 W3C Graphics Activity Lead
 Co-Chair, W3C Hypertext CG
Received on Tuesday, 20 May 2008 08:43:35 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 20 May 2008 08:43:35 GMT