Confluence uses incorrect DOCTYPE

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: Medium
    • None
    • Affects Version/s: 2.5.7
    • Component/s: None
    • Environment:

      N/A

      I think the issue raised in CONF-6798 is a valid one, but the initial report didn't explain the issue fully enough. The current DOCTYPE line produced by Confluence is this:

          <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

      Whereas it should really be this:

          <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

      That is because version 4.0 has been superseded by version 4.01. If you look at the page info for http://confluence.atlassian.com/ in Firefox you'll see that it is rendered in quirks mode. However if you look at the page info for http://wikis.sun.com/ in Firefox you'll see that is rendered in standards compliance mode. The difference is that the latter site has a custom theme which uses a non-deprecated DOCTYPE.

              Assignee:
              Unassigned
              Reporter:
              Mark Sheppard
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: