Changeset 5221


Ignore:
Timestamp:
03/04/2010 04:00:05 PM (5 years ago)
Author:
garry.yao
Message:

#3599: Adding a special rule for background color style which could better coexist with font size style.

Location:
CKEditor/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • CKEditor/trunk/CHANGES.html

    r5220 r5221  
    5252                <li><a href="http://dev.fckeditor.net/ticket/4877">#4877</a> : Fixed CKEditor displays source code in one long line (IE quirks mode + office2003 skin).</li>
    5353                <li><a href="http://dev.fckeditor.net/ticket/5132">#5132</a> : Apply inline style leaks into sibling words which are seperated spaces.</li>
     54                <li><a href="http://dev.fckeditor.net/ticket/3599">#3599</a> : Background color style on sized text displayed as narrow band behind.</li>
    5455        </ul>
    5556        <h3>
  • CKEditor/trunk/_source/plugins/colorbutton/plugin.js

    r5206 r5221  
    224224        {
    225225                element         : 'span',
    226                 styles          : { 'background-color' : '#(color)' }
     226                styles          : { 'background-color' : '#(color)' },
     227
     228                // It's better to apply background color as the innermost style. (#3599)
     229                childRule : function( element )
     230                {
     231                        return false;
     232                }
    227233        };
Note: See TracChangeset for help on using the changeset viewer.
© 2003 – 2012 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy