/*\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
' href="javascript:void(\'', value, '\')" ' +\r
( CKEDITOR.env.ie ? 'onclick="return false;" onmouseup' : 'onclick' ) + // #188\r
'="CKEDITOR.tools.callFunction(', this._.getClick(), ',\'', value, '\'); return false;"',\r
- ' role="option"' +\r
- ' aria-posinset="' + ++this._.size + '">',\r
+ ' role="option">',\r
html || value,\r
'</a>' +\r
'</li>' );\r
{\r
this._.close();\r
this.element.appendHtml( this._.pendingHtml.join( '' ) );\r
-\r
- var items = this._.items,\r
- doc = this.element.getDocument();\r
- for ( var value in items )\r
- doc.getById( items[ value ] + '_option' ).setAttribute( 'aria-setsize', this._.size );\r
delete this._.size;\r
\r
this._.pendingHtml = [];\r