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

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 UTC