W3C home > Mailing lists > Public > www-dom@w3.org > October to December 2006

Re: Description of textContent incorrect for attributes

From: Boris Zbarsky <bzbarsky@mit.edu>
Date: Thu, 12 Oct 2006 09:47:09 -0500
Message-ID: <452E556D.9030409@mit.edu>
To: Norman Walsh <ndw@nwalsh.com>
CC: www-dom@w3.org

Norman Walsh wrote:
> As attributes have no children, it must always be null.

Last I checked, in DOM Level 3 Attr nodes had children.  At least a Text node 
with the attr value, and possibly EntityReferenceNodes if the attr value 
contained entity references...

Received on Thursday, 12 October 2006 14:47:31 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 22 June 2012 06:13:58 GMT