JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
vanilla ckeditor-3.4.3
[ckeditor.git] / _source / core / dom / element.js
index 6c62613..48b0d26 100644 (file)
@@ -613,7 +613,7 @@ CKEDITOR.tools.extend( CKEDITOR.dom.element.prototype,
                        // Cache the lowercased name inside a closure.\r
                        var nodeName = this.$.nodeName.toLowerCase();\r
 \r
-                       if ( CKEDITOR.env.ie )\r
+                       if ( CKEDITOR.env.ie && ! ( document.documentMode > 8 ) )\r
                        {\r
                                var scopeName = this.$.scopeName;\r
                                if ( scopeName != 'HTML' )\r
@@ -721,9 +721,6 @@ CKEDITOR.tools.extend( CKEDITOR.dom.element.prototype,
                        var thisLength = thisAttribs.length,\r
                                otherLength = otherAttribs.length;\r
 \r
-                       if ( !CKEDITOR.env.ie && thisLength != otherLength )\r
-                               return false;\r
-\r
                        for ( var i = 0 ; i < thisLength ; i++ )\r
                        {\r
                                var attribute = thisAttribs[ i ];\r