On 1/3/07, Hallvord R. M. Steen <[EMAIL PROTECTED]> wrote:
On Tue, 02 Jan 2007 02:16:29 +0100, Shadow2531 <[EMAIL PROTECTED]>
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. :)
--
burnout426