Skip to content
Browse files

Fixing webkit behavior change. fixes #12111

  • Loading branch information...
1 parent 78217a3 commit 9ae1f0f761ba94c314acce7a1fa70e33346db3be Jared Jurkiewicz committed Dec 23, 2010
Showing with 3 additions and 1 deletion.
  1. +3 −1 tests/editor/robot/Editor_FontChoice.html
View
4 tests/editor/robot/Editor_FontChoice.html
@@ -168,7 +168,9 @@
dojo.global.dojo.withGlobal(editor.window, function() {
// Select the text, collapse to the start of it
dijit._editor.selection.selectElementChildren(p);
- dijit._editor.selection.collapse(true);
+ // Disable collapse. Webkit changed behavior so it now requires
+ // a selection.
+ if(!dojo.isWebKit){ dijit._editor.selection.collapse(true) };
// Set the format / font-size / font-name plugin to the new value
// TODO: use mouse/keyboard to set the value

0 comments on commit 9ae1f0f

Please sign in to comment.
Something went wrong with that request. Please try again.