[dojo-contributors] r4522

Alex Russell alex at dojotoolkit.org
Mon Jun 26 19:18:03 EDT 2006


On Monday 26 June 2006 3:57 pm, Bill Keese wrote:
> > On 6/26/06, Bryan Forbes <bryan at reigndropsfall.net> wrote:
> >> http://trac.dojotoolkit.org/changeset/4522
> >> Why are we still using document.body?  I thought that we defined
> >> dojo.html.body() because XHTML Strict documents don't have
> >> document.body defined.  Is this true, and if so, can we change
> >> references to document.body to dojo.html.body()?
> >
> > LiuCougar wrote:
> > I prepared a patch for this
> >
> > please have a look
>
> Liu - Apparently we are supposed to use dojo.doc().body instead of
> document.body and dojo.html.body()?

I don't think that covers it. In a strict environment dojo.doc().body 
would expand out to document.documentElement.body, which I don't think 
is what we want. dojo.doc() *might* be useful, but perhaps not for 
this.

Regards

-- 
Alex Russell
alex at dojotoolkit.org BE03 E88D EABB 2116 CC49 8259 CF78 E242 59C3 9723
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 188 bytes
Desc: not available
Url : http://mail.dojotoolkit.org/pipermail/dojo-contributors/attachments/20060626/1f5ff219/attachment.sig 


More information about the dojo-contributors mailing list