Re: <frameset onload>

On Wed, 10 Jun 2009, Simon Pieters wrote:
> On Wed, 10 Jun 2009 09:59:01 +0200, Ian Hickson <ian@hixie.ch> wrote:
> > On Wed, 20 May 2009, Simon Pieters wrote:
> > > 
> > > The spec could also be clearer about the fact that when an event 
> > > handler attribute is set on a body or frameset element, it will 
> > > override the element's ownerDocument's window's event handler 
> > > attribute. (Even if the element is not inserted in the document.)
> > 
> > I'm not really sure how to make this clearer... any suggestions?
> 
> "Note: When an event handler attribute is set on a body or frameset 
> element, it will override the element's ownerDocument's window's event 
> handler attribute (even if the element is not inserted in the 
> document)."

But that doesn't make sense, because the event handler attribute on 
body and frameset elements is the same as the one on their Window. There 
is only one "onload" event handler attribute, for instance. It's just 
exposed in several places.

(Also, where would you put this note?)

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'

Received on Wednesday, 8 July 2009 02:23:43 UTC