/*\r
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.\r
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.\r
For licensing, see LICENSE.html or http://ckeditor.com/license\r
*/\r
\r
\r
var table = new $el( 'table' );\r
createColorTable();\r
+ var html = table.getHtml();\r
\r
var numbering = function( id )\r
{\r
[\r
{\r
type : 'html',\r
- html : '<table role="listbox" aria-labelledby="' + tableLabelId + '" onmouseout="CKEDITOR.tools.callFunction( ' + onMouseout + ' );">' + table.getHtml() + '</table>' +\r
- '<span id="' + tableLabelId + '" class="cke_voice_label">' + lang.options +'</span>',\r
+ html : '<table role="listbox" aria-labelledby="' + tableLabelId + '" onmouseout="CKEDITOR.tools.callFunction( ' + onMouseout + ' );">' +\r
+ ( !CKEDITOR.env.webkit ? html : '' ) +\r
+ '</table><span id="' + tableLabelId + '" class="cke_voice_label">' + lang.options +'</span>',\r
onLoad : function()\r
{\r
var table = CKEDITOR.document.getById( this.domId );\r
table.on( 'mouseover', updateHighlight );\r
+ // In WebKit, the table content must be inserted after this event call (#6150)\r
+ CKEDITOR.env.webkit && table.setHtml( html );\r
},\r
focus: function()\r
{\r