Skip to content

Commit

Permalink
Tests: ignore enter key scrolls document test + slight fixes in doc.
Browse files Browse the repository at this point in the history
  • Loading branch information
scofalik committed Jul 6, 2015
1 parent b127c2e commit 9d62060
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
4 changes: 2 additions & 2 deletions plugins/clipboard/plugin.js
Expand Up @@ -1500,8 +1500,8 @@
* Main native paste event editable should listen to.
*
* **Note:** Safari doesn't like 'beforepaste' event - it sometimes doesn't
* properly handles ctrl+c. Probably some race-condition between events.
* Chrome and Firefox works well with both events, so better to use 'paste'
* handle ctrl+c properly. Probably some race-condition between events.
* Chrome and Firefox work well with both events, so it's better to use 'paste'
* which will handle pasting from e.g. browsers' menu bars.
* IE7/8 doesn't like 'paste' event for which it's throwing random errors.
*
Expand Down
9 changes: 8 additions & 1 deletion tests/plugins/enterkey/enterkey.js
Expand Up @@ -97,6 +97,13 @@

// #7946 TODO: Add editor doc quirks mode tests.
'test enter key key scrolls document': function() {
// On iPads, behavior of scrollTop, scrollHeight and clientHeight is a bit unexpected.
// <html> and <iframe> are resized even though they shouldn't, sudden changes of scrollHeight
// from higher value to ~clientHeight, even though more elements are being added, etc. (#13439)
if ( CKEDITOR.env.iOS ) {
assert.ignore();
}

var bot = this.editorBots.editor,
editor = bot.editor;

Expand Down Expand Up @@ -258,4 +265,4 @@
se( 'editor', '<ul><li><em>foo{}</em><br /></li></ul>', '<ul><li><em>foo<br />^</em><br /></li></ul>' )
} );

} )();
} )();

0 comments on commit 9d62060

Please sign in to comment.