]> source.dussan.org Git - vaadin-framework.git/commitdiff
Fix doctype causing screenshot differences (#9274)
authorLeif Åstrand <leif@vaadin.com>
Fri, 10 Aug 2012 12:23:57 +0000 (15:23 +0300)
committerLeif Åstrand <leif@vaadin.com>
Fri, 10 Aug 2012 12:24:20 +0000 (15:24 +0300)
src/com/vaadin/terminal/gwt/server/BootstrapHandler.java

index d025e9307224532956875e699613b8b0f221fe00..64d0e0bf4b6320afb042bc4c3ba0da80a3f47948 100644 (file)
@@ -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);