Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#13146 closed Bug (invalid)

Widget plugin/WIdget API does not support IE9 quirks mode

Reported by: Richard Franks Owned by:
Priority: Normal Milestone:
Component: UI : Widgets Version:
Keywords: Cc: Richard Franks

Description

The widget plugin appears to be relying on CKEDITOR.dom.element's find and findOne methods, which use querySelector and querySelectorAll, respectively, of the Selectors API(http://www.w3.org/TR/selectors-api/). It appears the Selectors API is not available in IE9 quirks mode.

Using the attached ckeditor project and a simple http server like Python 3.0 http.server...

1) Browse to index.html

Notice that toolbar plugins are not enabled. There are also console errors. SCRIPT438: Object doesn't support property or method 'querySelectorAll' element.js, line 1897 character 5

Attachments (3)

build-config.js (1.7 KB) - added by Richard Franks 9 years ago.
Build config for ckeditor
ckeditor_pkg.zip (1.6 MB) - added by Richard Franks 9 years ago.
File containing simple test case
widget_plugin_IE9_quirks_mode.swf (1.1 MB) - added by Richard Franks 9 years ago.
SWF Video showing more details in IE9 Developer Tools

Change History (5)

Changed 9 years ago by Richard Franks

Attachment: build-config.js added

Build config for ckeditor

Changed 9 years ago by Richard Franks

Attachment: ckeditor_pkg.zip added

File containing simple test case

Changed 9 years ago by Richard Franks

SWF Video showing more details in IE9 Developer Tools

comment:1 Changed 9 years ago by Jakub Ś

Resolution: invalid
Status: newclosed
Version: 4.4.7

The quirks mode for IE8-9, that you use, puts browser into 5.5 version. As you may have deduct from the comment - since some API is not available in IE7 it won't be available in IE 5.5.

The only solution to this is not using quirks mode.

comment:2 Changed 9 years ago by Richard Franks

So on http://docs.ckeditor.com/#!/guide/dev_browsers

A-Graded Browser Support <snip> Internet Explorer: 8.0, 9.0, 9.0 Quirks, 10, and 11 <snip> All browsers are to be supported for web pages with the Document Type Declaration (DOCTYPE) of HTML5 (<!DOCTYPE html>) except for IE 9 Quirks that will support unknown doctypes.

Does this not apply to the widget plugin? Or is there another form of quirks that is supported?

I only ask because switching to standards mode would be a non-trivial change for the Enterprise application we are trying to use CKEditor+Widget SDK in.

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