summaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
authorJohn Ahlroos <john@vaadin.com>2012-09-08 11:21:57 +0300
committerJohn Ahlroos <john@vaadin.com>2012-09-08 11:21:57 +0300
commit17c0f672543946e0c39b42c37cc5e1d43607e2b4 (patch)
tree8f34ca00e24d2e1c17c371f35c2ccc9e4396860d /server
parent0c34d82bf947439e9ad9513c9758fb753425c5e4 (diff)
downloadvaadin-framework-17c0f672543946e0c39b42c37cc5e1d43607e2b4.tar.gz
vaadin-framework-17c0f672543946e0c39b42c37cc5e1d43607e2b4.zip
Using HTML5 doctype
Diffstat (limited to 'server')
-rw-r--r--server/src/com/vaadin/server/BootstrapHandler.java5
1 files changed, 1 insertions, 4 deletions
diff --git a/server/src/com/vaadin/server/BootstrapHandler.java b/server/src/com/vaadin/server/BootstrapHandler.java
index a4aac2b310..7103ca86ae 100644
--- a/server/src/com/vaadin/server/BootstrapHandler.java
+++ b/server/src/com/vaadin/server/BootstrapHandler.java
@@ -207,12 +207,9 @@ public abstract class BootstrapHandler implements RequestHandler {
Document document = response.getDocument();
- DocumentType doctype = new DocumentType("html",
- "-//W3C//DTD XHTML 1.0 Transitional//EN",
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd",
+ DocumentType doctype = new DocumentType("html", "", "",
document.baseUri());
document.child(0).before(doctype);
- document.body().parent().attr("xmlns", "http://www.w3.org/1999/xhtml");
Element head = document.head();
head.appendElement("meta").attr("http-equiv", "Content-Type")