Changeset 7213


Ignore:
Timestamp:
08/19/11 16:03:19 (4 years ago)
Author:
garry.yao
Message:

#6212: Remove superfluous code that scrolls host page when resizing in webkit.

Location:
CKEditor/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • CKEditor/trunk/CHANGES.html

    r7212 r7213  
    6363                <li><a href="http://dev.ckeditor.com/ticket/6957">#6957</a> : Find highlight not reaching read-only blocks.</li>
    6464                <li><a href="http://dev.ckeditor.com/ticket/7948">#7948</a> : Improved perceptivity for width/height fields value type on Table dialog.</li>
     65                <li><a href="http://dev.ckeditor.com/ticket/6212">#6212</a> : [Webkit] Editor resize may scrolls host page.</li>
    6566                <li>Updated the following language files:<ul>
    6667                        <li><a href="http://dev.ckeditor.com/ticket/8128">#8128</a> : Italian;</li>
  • CKEditor/trunk/_source/themes/default/theme.js

    r7201 r7213  
    330330                outer = resizeInner ? container.getChild( 1 ) : container;
    331331
    332         // Resize the width first.
    333         // WEBKIT BUG: Webkit requires that we put the editor off from display when we
    334         // resize it. If we don't, the browser crashes!
    335         CKEDITOR.env.webkit && outer.setStyle( 'display', 'none' );
    336332        // Set as border box width. (#5353)
    337333        outer.setSize( 'width',  width, true );
    338         if ( CKEDITOR.env.webkit )
    339         {
    340                 outer.$.offsetWidth;
    341                 outer.setStyle( 'display', '' );
    342         }
    343334
    344335        // Get the height delta between the outer table and the content area.
Note: See TracChangeset for help on using the changeset viewer.
© 2003 – 2015 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy