Ticket #7284: 7284.patch

File 7284.patch, 1.1 KB (added by Sa'ar Zac Elias, 13 years ago)
  • _source/plugins/maximize/plugin.js

     
    203203
    204204                                                        mainDocument.getDocumentElement().setStyles( styles );
    205205                                                        !CKEDITOR.env.gecko && mainDocument.getDocumentElement().setStyle( 'position', 'fixed' );
    206                                                         mainDocument.getBody().setStyles( styles );
     206                                                        !( CKEDITOR.env.gecko && CKEDITOR.env.quirks ) && mainDocument.getBody().setStyles( styles );
    207207
    208208                                                        // Scroll to the top left (IE needs some time for it - #4923).
    209209                                                        CKEDITOR.env.ie ?
     
    211211                                                                mainWindow.$.scrollTo( 0, 0 );
    212212
    213213                                                        // Resize and move to top left.
    214                                                         container.setStyle( 'position', 'absolute' );
     214                                                        // Special treatment for FF Quirks (#7284)
     215                                                        container.setStyle( 'position', CKEDITOR.env.gecko && CKEDITOR.env.quirks ? 'fixed' : 'absolute' );
    215216                                                        container.$.offsetLeft;                 // SAFARI BUG: See #2066.
    216217                                                        container.setStyles(
    217218                                                                {
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy