/*\r
-Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.\r
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.\r
For licensing, see LICENSE.html or http://ckeditor.com/license\r
*/\r
\r
// the styles.\r
for ( var value in styles )\r
{\r
- if ( styles[ value ].checkElementRemovable( element, true ) )\r
+ if ( styles[ value ].checkElementMatch( element, true ) )\r
{\r
if ( value != currentValue )\r
this.setValue( value );\r