Adds a new class called DocumentRootImpl that sets the document root based on the render mode of the browser, strict or quirks.  The replaces all of the JSNI methods that used a conditional to pick doc.body or doc.documentRoot.  This patch also adds WindowImpl classes, separating the Window specific JSNI methods out of the DOMImpl classes.

Issue: 1400
Patch by: mmastrac, fredsa, ecc, jlabanca
Review by: ecc



git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@1800 8db76d5a-ed1c-0410-87a9-c151d255dfc7
17 files changed