Ticket #3549: 3549_2.patch

File 3549_2.patch, 1.6 KB (added by Tobiasz Cudnik, 15 years ago)
  • _source/core/env.js

     
    1 /*
     1/*
    22Copyright (c) 2003-2009, CKSource - Frederico Knabben. All rights reserved.
    33For licensing, see LICENSE.html or http://ckeditor.com/license
    44*/
     
    106106                        env.ie6Compat = ( version < 7 || env.quirks );
    107107
    108108                        /**
    109                          *  Indicate IE8.
     109                         *  Indicate IE8 as used browser. Consider ie6Compat and ie7Compat to ensure compatibility.
    110110                         */
    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 ) );
    112119                }
    113120
    114121                // Gecko.
  • _source/core/dom/element.js

     
    1 /*
     1/*
    22Copyright (c) 2003-2009, CKSource - Frederico Knabben. All rights reserved.
    33For licensing, see LICENSE.html or http://ckeditor.com/license
    44*/
     
    400400                                return this.$.getAttribute( name, 2 );
    401401                        };
    402402
    403                         if ( CKEDITOR.env.ie && !CKEDITOR.env.ie8 )
     403                        if ( CKEDITOR.env.ie && ( !CKEDITOR.env.ie8 || CKEDITOR.env.ie7Compat || CKEDITOR.env.ie6Compat ) )
    404404                        {
    405405                                return function( name )
    406406                                {
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy