[Webkit-unassigned] [Bug 27845] New: document.compatMode is incorrect for javascript: protocol URLs in IFRAMEs

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jul 30 11:50:39 PDT 2009


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

           Summary: document.compatMode is incorrect for javascript:
                    protocol URLs in IFRAMEs
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Windows XP
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: HTML DOM
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: haysfamily at hotmail.com


Created an attachment (id=33797)
 --> (https://bugs.webkit.org/attachment.cgi?id=33797)
tiny HTML file that shows the correct compatMode with no DOCTYPE in the main
document, and then incorrectly set for the IFRAME

When you specify a src="javascript:'<HTML><BODY></BODY></HTML>'" attribute for
an IFRAME, WebKit assigns document.compatMode = CSS1Compat (strict) even though
no DOCTYPE was specified.  All other browsers tested (IE 6, 7, 8, Firefox 2, 3,
3.5, Opera 9.6x) report the compatMode = BackCompat (quirks).

-- 
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