I found the weirdest bug of the year!

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?


Vadim



-------- Original Message -------- Subject: cvs commit: cocoon-2.1/src/webapp sitemap.xmap Date: 27 Dec 2003 00:01:25 -0000 From: [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED]



vgritsenko 2003/12/26 16:01:25

Modified: src/webapp sitemap.xmap
Log:
Add HTML 4.01 declaration to HTML serializer.
Break woody samples.
Revision Changes Path
1.43 +5 -2 cocoon-2.1/src/webapp/sitemap.xmap
Index: sitemap.xmap
===================================================================
RCS file: /home/cvs/cocoon-2.1/src/webapp/sitemap.xmap,v
retrieving revision 1.42
retrieving revision 1.43
diff -u -r1.42 -r1.43
--- sitemap.xmap 12 Dec 2003 14:48:43 -0000 1.42
+++ sitemap.xmap 27 Dec 2003 00:01:25 -0000 1.43
@@ -122,7 +122,10 @@
<map:serializers default="html">
<map:serializer logger="sitemap.serializer.links" name="links" src="org.apache.cocoon.serialization.LinkSerializer"/>
<map:serializer logger="sitemap.serializer.xml" mime-type="text/xml" name="xml" src="org.apache.cocoon.serialization.XMLSerializer"/>
- <map:serializer logger="sitemap.serializer.html" mime-type="text/html" name="html" pool-grow="4" pool-max="32" pool-min="4" src="org.apache.cocoon.serialization.HTMLSerializer"/>
+ <map:serializer logger="sitemap.serializer.html" mime-type="text/html" name="html" pool-grow="4" pool-max="32" pool-min="4" src="org.apache.cocoon.serialization.HTMLSerializer">
+ <doctype-public>-//W3C//DTD HTML 4.01 Transitional//EN</doctype-public>
+ <doctype-system>http://www.w3.org/TR/html4/loose.dtd</doctype-system>
+ </map:serializer>
<map:serializer logger="sitemap.serializer.wml" mime-type="text/vnd.wap.wml" name="wml" src="org.apache.cocoon.serialization.XMLSerializer">
<doctype-public>-//WAPFORUM//DTD WML 1.1//EN</doctype-public>
<doctype-system>http://www.wapforum.org/DTD/wml_1.1.xml</doctype-system>






Reply via email to