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

[Params] default values in content-value ?

From: Jeff Schiller <codedread@gmail.com>
Date: Wed, 17 Jun 2009 13:28:08 -0500
Message-ID: <da131fde0906171128h5c547b0aof2fe5607e7c97d5d@mail.gmail.com>
To: www-svg <www-svg@w3.org>
For the following text element:

   <text id="theText" content-value="param(label) default">content</text>

   a) getAttributeNS(null, "content-value") returns the entire string?
ie. "param(label) default"

   b) is a default value allowed in @content-value?  It seems odd that
other attributes can have it but content-value cannot.  Then again, if
a default value is allowed, what happens to the actual text nodes of
the <text> element ("content" above).  And what about the DOM
Attributes nodeValue and textContent?

Regards,
Jeff
Received on Wednesday, 17 June 2009 18:28:40 GMT

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