Ticket #2947: 2947_2.patch

File 2947_2.patch, 1.1 KB (added by Martin Kou, 15 years ago)
  • _source/core/htmlparser/element.js

     
    124124                                writer.write( attributes._cke_replacedata );
    125125                                return;
    126126                        }
     127
     128                        // IE outputs style attribute in capital letters. We should convert them
     129                        // back to lower case.
     130                        if ( CKEDITOR.env.ie && attributes.style )
     131                                attributes.style = attributes.style.toLowerCase();
    127132               
    128133                        // Open element tag.
    129134                        writer.openTag( this.name, this.attributes );
  • _source/core/dom/element.js

     
    379379
    380380                                                        return tabIndex;
    381381                                                        break;
     382
     383                                                case 'style':
     384                                                        // IE does not return inline styles via getAttribute(). See #2947.
     385                                                        return this.$.style.cssText;
    382386                                        }
    383387
    384388                                        return standard.call( this, name );
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy