W3C home > Mailing lists > Public > www-svg@w3.org > October 2010

Re: SVG 1.1 Does no text exist in the DOM? or why no eggs?

From: Jeff Schiller <codedread@gmail.com>
Date: Sat, 2 Oct 2010 23:10:58 -0700
Message-ID: <AANLkTimaPL0merg1qxnvqoZ8azWmP84y+fTvvE-kF6LJ@mail.gmail.com>
To: ddailey <ddailey@zoominternet.net>
Cc: Boris Zbarsky <bzbarsky@mit.edu>, Alex Danilo <alex@abbra.com>, www-svg <www-svg@w3.org>
David,

>From the document, "This document contains the Document Object Model Level 3
Core specification and is a W3C
Recommendation<http://www.w3.org/2004/02/Process-20040205/tr.html#RecsW3C>
"

http://en.wikipedia.org/wiki/Document_Object_Model says it's been published
since 2004.

Also, for textContent: http://www.quirksmode.org/dom/w3c_html.html#t07 which
says that all SVG-enabled browsers now support it (IE9 included).

Regards,
Jeff

On Sat, Oct 2, 2010 at 6:35 PM, ddailey <ddailey@zoominternet.net> wrote:

> Boris wrote:
>
>> No, setting nodeValue on a textnode should simply set the text inside the
>> text node.  Setting nodeValue on an element is a silent no-op. Setting
>> nodeValue never creates a "new DOM text node child".
>>
>
> Hmmm... though as Jeff says
>
> "Apart from '2e' not being a valid variable name (variables cannot begin
> with
> numbers), it looks like the textContent property is the way you want to do
> this:"
>
> Wow. That is nice... I see it even works in most places.
>
> Sorry for the naive question but what is the status of the document
> http://www.w3.org/TR/DOM-Level-3-Core/core.html ? I mean, by that, is it
> stable enough to assume that browsers should implement it?
>
> cheers
> David
>
>
Received on Sunday, 3 October 2010 06:11:51 GMT

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