W3C home > Mailing lists > Public > www-svg@w3.org > May 2006

RE: [SVG12Mobile]: GetAttributeNS in uDOM

From: MAHE Vincent RD-TECH-REN <v.mahe@francetelecom.com>
Date: Thu, 18 May 2006 17:00:21 +0200
Message-ID: <B30D6148F304A743A53B9B44751CDB9A042D560C@FTRDMEL2.rd.francetelecom.fr>
To: "Diego Gibellino" <d.gibellino@gmail.com>, <www-svg@w3.org>

Hello Diego,

The spec is quite clear about this in A.2.6 :

Example: Difference between traits and getAttributeNS (Java) :

<g fill="red">
  <rect id="r1" x="1" y="1" width="5" height="5"/>
  <rect id="r2" fill="inherit" x="1" y="1" width="5" height="5"/>

r1.getTraitNS(null, "fill") returns "red" (or equivalent normalized form, see below).
r2.getTraitNS(null, "fill") returns "red" (or equivalent normalized form, see below).
r1.getAttributeNS(null, "fill") returns "".
r2.getAttributeNS(null, "fill") returns "inherit". 



-----Message d'origine-----
De : www-svg-request@w3.org [mailto:www-svg-request@w3.org] De la part de Diego Gibellino
Envoyé : jeudi 18 mai 2006 16:27
À : www-svg@w3.org
Objet : [SVG12Mobile]: GetAttributeNS in uDOM

In uDOM the GetAttributeNS method on an attribute or property with no defined value in a SVG Element should return "" or the string representing its default value?


<rect width="100" height="100"/>



Received on Thursday, 18 May 2006 15:00:31 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 8 March 2017 09:47:08 UTC