cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vadim Gritsenko <va...@reverycodes.com>
Subject Re: Woody samples in standards mode [Fwd: cvs commit: cocoon-2.1/src/webapp sitemap.xmap]
Date Wed, 31 Dec 2003 00:35:27 GMT
Joerg Heinicke wrote:

> On 27.12.2003 01:05, Vadim Gritsenko wrote:
>
>> I found the weirdest bug of the year!
>
>
> You are not the first one: 
> http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24900.
>
>> When using HTML serializer with DOCTYPE declaration, Mozilla (I have 
>> Mozilla 1.5 on Windows) switches from "quirks mode" to the "standards 
>> compliance mode". As side effect of this change, all popups in woody 
>> samples are popping up always from the same location: date picker 
>> pops up in the top left corner, help windows pop up in the bottom 
>> left corner.
>>
>> Now, anybody has an idea how to fix it?
>
>
> No. I hope it can be fixed, if the JS is done with standards using DOM 
> operations instead of document.write("<div>foo</div>").


I had a peek into javascripts... AFAIU, document.write is used only in
PopupWindow.js, and only for netscape 4 support (this.use_layers), or
when <div> is not available ( if (divName != null) { ... } else { ...
document.write() ... } ).

So, the problem should be somewhere else, right?

Vadim




Mime
View raw message