Ticket #3031: 3031.patch

File 3031.patch, 999 bytes (added by Frederico Caldeira Knabben, 15 years ago)
  • _source/plugins/panel/plugin.js

     
    143143                                        '<!DOCTYPE html>' +
    144144                                        '<html dir="' + dir + '" class="' + className + '_container">' +
    145145                                                '<head>' +
    146                                                         '<link type="text/css" rel=stylesheet href="' + this.css.join( '"><link type="text/css" rel="stylesheet" href="' ) + '">' +
    147146                                                        '<style>.' + className + '_container{visibility:hidden}</style>' +
    148147                                                '</head>' +
    149148                                                '<body class="cke_' + dir + ' cke_panel_frame" style="margin:0;padding:0">' +
    150149                                                '</body>' +
     150                                                // It looks strange, but for FF2, the styles must go
     151                                                // after <body>, so it becames immediatelly available. (#3031)
     152                                                '<link type="text/css" rel=stylesheet href="' + this.css.join( '"><link type="text/css" rel="stylesheet" href="' ) + '">' +
    151153                                        '<\/html>' );
    152154                                doc.$.close();
    153155
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy