Ticket #3549: 3549_2.patch
File 3549_2.patch, 1.6 KB (added by , 14 years ago) |
---|
-
_source/core/env.js
1 /*1 /* 2 2 Copyright (c) 2003-2009, CKSource - Frederico Knabben. All rights reserved. 3 3 For licensing, see LICENSE.html or http://ckeditor.com/license 4 4 */ … … 106 106 env.ie6Compat = ( version < 7 || env.quirks ); 107 107 108 108 /** 109 * Indicate IE8 .109 * Indicate IE8 as used browser. Consider ie6Compat and ie7Compat to ensure compatibility. 110 110 */ 111 env.ie8 = (version >= 8); 111 env.ie8 = !!( ( version >= 8 ) || document.documentMode ); 112 113 /** 114 * Indicates that CKEditor is running on an IE7-like environment, which 115 * includes IE7 itself and IE8's IE7 mode. 116 * @type Boolean 117 */ 118 env.ie7Compat = ( ( version >= 7 && !document.documentMode ) || ( env.ie8 && document.documentMode == 7 ) ); 112 119 } 113 120 114 121 // Gecko. -
_source/core/dom/element.js
1 /*1 /* 2 2 Copyright (c) 2003-2009, CKSource - Frederico Knabben. All rights reserved. 3 3 For licensing, see LICENSE.html or http://ckeditor.com/license 4 4 */ … … 400 400 return this.$.getAttribute( name, 2 ); 401 401 }; 402 402 403 if ( CKEDITOR.env.ie && !CKEDITOR.env.ie8)403 if ( CKEDITOR.env.ie && ( !CKEDITOR.env.ie8 || CKEDITOR.env.ie7Compat || CKEDITOR.env.ie6Compat ) ) 404 404 { 405 405 return function( name ) 406 406 {