﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
9560	CKE 3.x and 4.x - Undefined table width gets reset to default	Jakub Ś		"This is the continuation of #9478.

To reproduce:

   1. Clear editor contents with CRTL+A Backspace
   2. Insert default table
   3. Open table properties dialog, clear width value and click OK
   4. Open table properties one more time. 

Result: Default table width 500px is present in width field and once you click OK table gets default width. 

You have to use below code to see the bug
{{{
CKEDITOR.on( 'dialogDefinition', function( ev )
            {
                var dialogName = ev.data.name;
                var dialogDefinition = ev.data.definition;

                // Set default table width during creation.
                if(dialogName == 'table')
                {
                    var infoTab = dialogDefinition.getContents( 'info' );
                    txtWidth = infoTab.get( 'txtWidth' );
                    txtWidth['default'] = '100%';
                }

                if ( dialogName == 'tableProperties' )
                {
                    var infoTab = dialogDefinition.getContents( 'info' );

                    var tab = dialogDefinition.getContents( 'advanced' );
                    tab.remove ('advLangDir');
                    tab.remove ('advStyles');
                    tab.remove ('advCSSClasses');
                }
            });

window.x  = CKEDITOR.editor.replace('editor1', {
    removePlugins : 'button,div,filebrowser,flash,format,forms,horizontalrule,indent,justify,liststyle,pagebreak,showborders,stylescombo,templates',
        toolbar :
            [
                ['Source', 'Table']
            ],
});
}}}

With this code bug can be reproduced in v4 but also in v3 from CKE 3.6.1 rev. [6979]"	Bug	confirmed	Normal		General	3.6.1			
