Opened 8 years ago

Closed 8 years ago

Last modified 5 years ago

#2102 closed Bug (fixed)

FCKConfig.DocType does not work in 2.6

Reported by: martinkou Owned by: martinkou
Priority: High 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 martinkou 8 years ago.

Download all attachments as: .zip

Change History (6)

comment:1 Changed 8 years ago by martinkou

  • Owner set to martinkou
  • Status changed from new to assigned

Changed 8 years ago by martinkou

comment:2 Changed 8 years ago by martinkou

  • Keywords Confirmed Review? added

comment:3 Changed 8 years ago by alfonsoml

  • Keywords Review+ added; Review? removed

comment:4 Changed 8 years ago by martinkou

  • Resolution set to fixed
  • Status changed from assigned to closed

Fixed with [2102].

Click here for more info about our SVN system.

comment:5 Changed 5 years ago by tholewebgods

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 – 2016 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy