W3C home > Mailing lists > Public > www-svg@w3.org > June 2009

[Params] DOM value of attribute that references a parameter

From: Jeff Schiller <codedread@gmail.com>
Date: Wed, 17 Jun 2009 13:29:23 -0500
Message-ID: <da131fde0906171129r1243fe93t8ca9396dbf6b183b@mail.gmail.com>
To: www-svg <www-svg@w3.org>
What is the DOM value of an attribute that references a parameter?

In the following snipet:

  <param name="color" value="blue" />
  <circle id="c" fill="param(color) red" />

what is the value of document.getElementById("c").getAttributeNS(null, "fill") ?

Is it the resolved value ("blue") or the raw string ("param(color)
red").  Either way it seems some information is lost...

Regards,
Jeff Schiller
Received on Wednesday, 17 June 2009 18:30:06 GMT

This archive was generated by hypermail 2.3.1 : Friday, 8 March 2013 15:54:42 GMT