View Single Post
  #9 (permalink)  
Old 05-09-2008, 04:17 PM
Richard Cornford
Guest
 
Posts: n/a
Diggs:
Default Re: My Very Strange Webhost, SBI! -- Opinions, Please

nobody@nowhere.net wrote:
> On Thu, 8 May 2008 13:54:01 -0700 (PDT), Prisoner at War wrote:

<snip>
><img src="blah.png" onMouseOver="bleh.gif"
> onMouseOut="blah.png">.

<snip>
> bleh.gif would never be parsed as a valid function.
> By any scripting engine.

<snip>

The values of intrinsic event attributes are not parsed as functions,
they are parsed as function bodies, and - bleh.gif - is a valid function
body. It is a single expression statement consisting of a dot notation
property accessor. Pointless, and unlikely to execute without error, but
still completely valid.

Richard.

Reply With Quote