Reviewers: jlabanca,

Description:
1. Assert, at runtime, that GWT is running in Standards Mode (i.e. with
an appropriate DOCTYPE declaration), e.g
<!doctype html>
2. Provide a new configuration property to indicate the required browser
rendering mode, which can be used to
suppress the above Standards Mode requirement, e.g.
- Skip rendering mode tests
<set-configuration-property name="document.compatMode" value="*"/>
- Require Standards Mode (the default)
<set-configuration-property name="document.compatMode"
value="CSS1Compat"/>
- Require Quirks Mode (for apps that require this and know what they are
doing)
<set-configuration-property name="document.compatMode"
value="BackCompat"/>
3. Modify the default HTML template to indicate that quirks mode  is not
supported

Fixes issues: 6086, 6306


Please review this at http://gwt-code-reviews.appspot.com/1422816/

Affected files:
  M user/src/com/google/gwt/user/UserAgent.gwt.xml
  A user/src/com/google/gwt/user/client/DocumentModeAsserter.java
  A user/src/com/google/gwt/user/rebind/DocumentModeGenerator.java
M user/src/com/google/gwt/user/tools/templates/sample/_warFolder_/_moduleShortName_.htmlsrc


--
http://groups.google.com/group/Google-Web-Toolkit-Contributors

Reply via email to