﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
3429	Editor is unusable with DocType XHTML under IE8	Duncan Simey	Alfonso Martínez de Lizarrondo	"If the editor area DocType is set to XHTML then it is not possible to drag the scrollbar in the editor area. When the scroll bar is clicked a javascript error occurs; this error prevents the scrollbar from working.

The DocType is specified in our custom configurations file using the following statement:
FCKConfig.DocType = '<!DOCTYPE html PUBLIC ""-//W3C//DTD XHTML 1.0 Strict//EN"" ""http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"">' ;

The error details are as follows:
   Message: 'nodeName' is null or not an object
   Line: 457
   Char: 2
   Code: 0
   URI: https://brue/editor/264/v1/fckeditor/editor/_source/internals/fck_ie.js

This line of javascript is:
 if ( e.nodeName.IEquals( 'input' ) && e.type.IEquals( ['radio', 'checkbox'] ) && !e.disabled )

I've worked around this problem by adding an extra guard.
 if ( e.nodeName && e.nodeName.IEquals( 'input' ) && e.type.IEquals( ['radio', 'checkbox'] ) && !e.disabled )
This works for me as we never use FCK to edit web forms.
However, a proper solution needs to test the DOM model for an attribute present in IE8 under both HTML and XHTML."	Bug	closed	Normal	FCKeditor 2.6.5	General	FCKeditor 2.6.4	fixed	IE8 Review+	
