Ticket #2102 (closed Bug: fixed)

Opened 6 months ago

Last modified 6 months ago

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
Keywords: Confirmed Review+ Cc:

Description

Reproduction procedure:

  1. Set FCKConfig.DocType = '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "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

2102.patch (1.2 kB) - added by martinkou 6 months ago.

Change History

Changed 6 months ago by martinkou

  • owner set to martinkou
  • status changed from new to assigned

Changed 6 months ago by martinkou

Changed 6 months ago by martinkou

  • keywords Confirmed Review? added

Changed 6 months ago by alfonsoml

  • keywords Review+ added; Review? removed

Changed 6 months ago by martinkou

  • status changed from assigned to closed
  • resolution set to fixed

Fixed with [2102].

Click here for more info about our SVN system.

Note: See TracTickets for help on using tickets.