[Webkit-unassigned] [Bug 44422] New: `document.compatMode` is `undefined` when using `application/xhtml+xml`

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Aug 23 07:29:09 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=44422

           Summary: `document.compatMode` is `undefined` when using
                    `application/xhtml+xml`
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
               URL: http://mathiasbynens.be/demo/xhtml5
        OS/Version: All
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: Layout and Rendering
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: mathias at qiwi.be


Created an attachment (id=65115)
 --> (https://bugs.webkit.org/attachment.cgi?id=65115)
Example XHTML5 document. When served with the correct MIME type (application/xhtml+xml), `document.compatMode` will be undefined.

As the title says, `document.compatMode` is `undefined` when using `application/xhtml+xml`. I would have expected a value of "CSS1Compat" instead.

You can test this using the example XHTML5 document (see attachment) or on <http://mathiasbynens.be/demo/xhtml5>.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list