langCode = parentDiv.getParent().getAttribute( 'lang' ),\r
doc = iframe.getFrameDocument();\r
\r
+ // Make it scrollable on iOS. (#8308)\r
+ CKEDITOR.env.iOS && parentDiv.setStyles(\r
+ {\r
+ 'overflow' : 'scroll',\r
+ '-webkit-overflow-scrolling' : 'touch'\r
+ });\r
+\r
var onLoad = CKEDITOR.tools.addFunction( CKEDITOR.tools.bind( function( ev )\r
{\r
this.isLoaded = true;\r
\r
this._.onKeyDown = block.onKeyDown && CKEDITOR.tools.bind( block.onKeyDown, block );\r
\r
- block.onMark = function( item )\r
- {\r
- holder.setAttribute( 'aria-activedescendant', item.getId() + '_option' );\r
- };\r
-\r
- block.onUnmark = function()\r
- {\r
- holder.removeAttribute( 'aria-activedescendant' );\r
- };\r
-\r
block.show();\r
\r
return block;\r
return false;\r
\r
case 'click' :\r
+ case 'mouseup' :\r
index = this._.focusIndex;\r
link = index >= 0 && this.element.getElementsByTag( 'a' ).getItem( index );\r
\r
if ( link )\r
- link.$.click ? link.$.click() : link.$.onclick();\r
+ link.$[ keyAction ] ? link.$[ keyAction ]() : link.$[ 'on' + keyAction ]();\r
\r
return false;\r
}\r