Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-9331

Confluence uses incorrect DOCTYPE

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Medium Medium
    • None
    • 2.5.7
    • None
    • 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.

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

                Created:
                Updated:
                Resolved: