Patches item #477798, was opened at 2001-11-03 08:23
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=305757&aid=477798&group_id=5757

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Andy Short (sh0rtie)
Assigned to: Nobody/Anonymous (nobody)
Summary: dimensions patch for IE6 using doctypes

Initial Comment:
When looking for the bodys width/height in IE6 using:

DynAPI.document.getWidth()
DynAPI.document.getHeight()

if the document has a valid doctype either XHTML or 4 +
IE6 runs in a CSS1 compatible strict mode when certain 
doctypes are present. In that case the documentElement 
represents the canvas, not the body element therefore
findimensions() was returning 0 using 
this.doc.body.clientHeight and a strict/xhtml doctype

added a check for wether the document was in 
strictmode or not and used 
this.doc.documentElement.clientHeight

basically if you write HTML or XHTML using doctypes 
and you use the documents body's width/height in your 
code you will need this for correct display in IE6


----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=305757&aid=477798&group_id=5757

_______________________________________________
Dynapi-Dev mailing list
[EMAIL PROTECTED]
http://www.mail-archive.com/dynapi-dev@lists.sourceforge.net/

Reply via email to