Changeset 1850 for MediaWiki/trunk

Show
Ignore:
Timestamp:
2008-03-31 10:20:10 (6 months ago)
Author:
wwalc
Message:

Partial fix for #2070: styles removed in IE

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • MediaWiki/trunk/plugins/mediawiki/fckplugin.js

    r1837 r1850  
    616616                                        if ( sAttValue.length == 0 ) 
    617617                                                continue ; 
     618                                } 
     619                                else if ( sAttName == 'style' && FCKBrowserInfo.IsIE ) { 
     620                                        sAttValue = htmlNode.style.cssText.toLowerCase() ; 
    618621                                } 
    619622                                // XHTML doens't support attribute minimization like "CHECKED". It must be trasformed to cheched="checked".