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: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Sat, 02 Oct 2010 20:40:41 -0400
Message-ID: <4CA7D109.5060806@mit.edu>
To: Jonathan Chetwynd <j.chetwynd@btinternet.com>
CC: www-svg <www-svg@w3.org>
On 10/2/10 5:44 PM, Jonathan Chetwynd wrote:
> in this testcase onmouseover, "ham'n" gets displayed, but no 'eggs'

Ignoring for the moment that 2e is not a valid variable name, 
2e.firstChild is null, so 2e.firstChild.nodeValue would throw an 
exception.

And all the browsers you mention have debugging consoles that would have 
told you the exact exception that was thrown, had you looked...

-Boris
Received on Sunday, 3 October 2010 00:41:15 GMT

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