Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-5335

All Hudson pages are served without <!DOCTYPE HTML>

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Trivial Trivial
    • None
    • None
    • Windows 7 Ultimate 64bit, Java 1.6.0_17 64bit, Hudson 1.341

      All pages served by Hudson (running with java -jar hudson.war, so self-hosting with Winstone if I understand correctly) lack any DOCTYPE, which means browsers (both Firefox and Internet Explorer at least) use their "quirks" rendering mode.

      At least with IE (8 in my case), this causes layout problems with some pages; e.g. the Hudson plugins page doesn't wrap the descriptions, giving a horizontal scrollbar only in quirks (IE5) mode (both IE7 and IE8 modes wrap fine).

      Just prefixing the HTML in the document with "<!DOCTYPE HTML>" (as defined in HTML5) is enough to switch both Firefox and IE to their newest and best parsing and rendering modes, and will continue to do so going forward.

            Unassigned Unassigned
            twpol James Ross
            Votes:
            5 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: