On 1/3/07, Hallvord R. M. Steen <hallvord@opera.com> wrote: > On Tue, 02 Jan 2007 02:16:29 +0100, Shadow2531 <shadow2531@gmail.com> > wrote: > > >> Reference for TC: > >> <http://lists.w3.org/Archives/Public/public-webapi/2006Dec/0127> > >> So, it seems that: > >> win cap (1) ([object HTMLImageElement]) > >> doc cap (1) ([object HTMLImageElement]) > >> win cap (1) ([object HTMLDocument]) > >> doc t+b (2) ([object HTMLDocument]) > >> win t+b (2) ([object HTMLDocument]) > >> > >> is the way to go because it doesn't break the 'false' behavior and it > >> allows 'true' to work as mosts sites intend. (Opera can produce that > >> with the body -> document target fixes.) > > Opera actually fires a "load" event on BODY for compatibility with typical > DOM0 <BODY onload="..."> code. This extra compatibility effort doesn't > seem to be necessary since both IE6 and Firefox say "true" for the document > > <body onload="alert(this==window)"></body> > > so let's consider it a bug ;-p Yeh. Just using the bug as tool for the moment. :) -- burnout426Received on Thursday, 4 January 2007 17:07:03 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:18:56 GMT