summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLeif Åstrand <leif@vaadin.com>2012-08-10 15:23:57 +0300
committerLeif Åstrand <leif@vaadin.com>2012-08-10 15:24:20 +0300
commit1fd77ff0d5fc6dee010b5c83acfd5b87b6801264 (patch)
treed19a343513500b15bf12c0af856b76aa49a27b6c /src
parent2bb642c779cb6dba9856882de92fec772590135f (diff)
downloadvaadin-framework-1fd77ff0d5fc6dee010b5c83acfd5b87b6801264.tar.gz
vaadin-framework-1fd77ff0d5fc6dee010b5c83acfd5b87b6801264.zip
Fix doctype causing screenshot differences (#9274)
Diffstat (limited to 'src')
-rw-r--r--src/com/vaadin/terminal/gwt/server/BootstrapHandler.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/vaadin/terminal/gwt/server/BootstrapHandler.java b/src/com/vaadin/terminal/gwt/server/BootstrapHandler.java
index d025e93072..64d0e0bf4b 100644
--- a/src/com/vaadin/terminal/gwt/server/BootstrapHandler.java
+++ b/src/com/vaadin/terminal/gwt/server/BootstrapHandler.java
@@ -560,7 +560,7 @@ public abstract class BootstrapHandler implements RequestHandler {
// + "DTD/xhtml1-transitional.dtd\">\n");
Document document = context.getBootstrapResponse().getDocument();
DocumentType doctype = new DocumentType("html",
- "//W3C//DTD XHTML 1.0 Transitional//EN",
+ "-//W3C//DTD XHTML 1.0 Transitional//EN",
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd",
document.baseUri());
document.child(0).before(doctype);