Opened 10 years ago

Closed 10 years ago

Last modified 7 years ago

#2102 closed Bug (fixed)

FCKConfig.DocType does not work in 2.6

Reported by: Martin Kou Owned by: Martin Kou
Priority: Must have (possibly next milestone) Milestone: FCKeditor 2.6.1
Component: General Version: SVN (FCKeditor) - Retired
Keywords: Confirmed Review+ Cc:

Description

Reproduction procedure:

  1. Set FCKConfig.DocType = '<!DOCTYPE html PUBLIC "-W3CDTD XHTML 1.0 TransitionalEN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">' ; in fckconfig.js.
  2. Open sample01.html.
  3. Examine the compatibility mode in the editor frame by typing "javascript: alert(frames[0].frames[0].document.compatMode);" - it is "BackCompat" which means Quirks mode. The editing frame should be running in standards compliance mode with DocType set to XHTML Transistional.

Attachments (1)

2102.patch (1.2 KB) - added by Martin Kou 10 years ago.

Download all attachments as: .zip

Change History (6)

comment:1 Changed 10 years ago by Martin Kou

Owner: set to Martin Kou
Status: newassigned

Changed 10 years ago by Martin Kou

Attachment: 2102.patch added

comment:2 Changed 10 years ago by Martin Kou

Keywords: Confirmed Review? added

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

Keywords: Review+ added; Review? removed

comment:4 Changed 10 years ago by Martin Kou

Resolution: fixed
Status: assignedclosed

Fixed with [2102].

Click here for more info about our SVN system.

comment:5 Changed 7 years ago by Thomas Lehmann

Note: It was integrated in revision [1922], not "2102".

I found this while trying to understand the "patch" (which doesn't make sense to me).

Note: See TracTickets for help on using tickets.
© 2003 – 2017 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy