Skip to content

Commit 9d62060

Browse files
committed
Tests: ignore enter key scrolls document test + slight fixes in doc.
1 parent b127c2e commit 9d62060

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

plugins/clipboard/plugin.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1500,8 +1500,8 @@
15001500
* Main native paste event editable should listen to.
15011501
*
15021502
* **Note:** Safari doesn't like 'beforepaste' event - it sometimes doesn't
1503-
* properly handles ctrl+c. Probably some race-condition between events.
1504-
* Chrome and Firefox works well with both events, so better to use 'paste'
1503+
* handle ctrl+c properly. Probably some race-condition between events.
1504+
* Chrome and Firefox work well with both events, so it's better to use 'paste'
15051505
* which will handle pasting from e.g. browsers' menu bars.
15061506
* IE7/8 doesn't like 'paste' event for which it's throwing random errors.
15071507
*

tests/plugins/enterkey/enterkey.js

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,13 @@
9797

9898
// #7946 TODO: Add editor doc quirks mode tests.
9999
'test enter key key scrolls document': function() {
100+
// On iPads, behavior of scrollTop, scrollHeight and clientHeight is a bit unexpected.
101+
// <html> and <iframe> are resized even though they shouldn't, sudden changes of scrollHeight
102+
// from higher value to ~clientHeight, even though more elements are being added, etc. (#13439)
103+
if ( CKEDITOR.env.iOS ) {
104+
assert.ignore();
105+
}
106+
100107
var bot = this.editorBots.editor,
101108
editor = bot.editor;
102109

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

261-
} )();
268+
} )();

0 commit comments

Comments
 (0)