Opened 13 years ago

Last modified 13 years ago

#8161 confirmed Bug

IE9: an iframe without doctype causes problem with combo elements

Reported by: Wiktor Walc Owned by:
Priority: Normal Milestone:
Component: General Version: 3.2
Keywords: IE9 Cc: satya_minnekanti@…

Description

Steps to reproduce

  • Add to the _samples folder file named test.html
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    	<title>CKEditor Samples</title>
    	<meta content="text/html; charset=utf-8" http-equiv="content-type" />
    </head>
    <body>
    <iframe src="replacebycode.html" width="900" height="600"></iframe>
    </body>
    </html>
    
  • remove doctype from replacebycode.html
  • open test.html

The result can be seen on the attached screenshot.

Attachments (1)

ie9_iframe_quirks.png (22.2 KB) - added by Wiktor Walc 13 years ago.

Download all attachments as: .zip

Change History (4)

Changed 13 years ago by Wiktor Walc

Attachment: ie9_iframe_quirks.png added

comment:1 Changed 13 years ago by Jakub Ś

Status: newconfirmed
Version: 3.2

Reproducible in IE9 from CKEditor 3.2.

comment:2 Changed 13 years ago by Satya Minnekanti

Cc: satya_minnekanti@… added

comment:3 Changed 13 years ago by Alfonso Martínez de Lizarrondo

I think that it might be related to https://connect.microsoft.com/IE/feedback/details/599022/canvas-element-unknown-in-iframe-if-no-doctype-on-parent-page-ie9p5

In IE9 it's not good idea to mix quirks and standards pages (iframes), because they won't behave in the way that it's expected, and IIRC, even some js tests will fail stating that the rendering is done for example in standards mode but the reality is that they have been forced to quirks (or the other way around).

There's no reason to use Quirks mode except while supporting very old sites, and in those sites the developer can add the X-UA-Compatible header (and forget about using code with new features)

Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy