Skip to content

Commit

Permalink
This tests behaves differently when it isn't run by itself because
Browse files Browse the repository at this point in the history
    of a bug.  Filed it (13673) and added a workaround.



Canonical link: https://commits.webkit.org/17844@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@21392 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  • Loading branch information
Justin Garcia committed May 11, 2007
1 parent d95cd13 commit 94dbb6b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions LayoutTests/editing/selection/5195166-1.html
Expand Up @@ -12,6 +12,12 @@
if (window.layoutTestController) {
var text = document.getElementById("div").firstChild;
var selection = window.getSelection();

// FIXME: m_lastChangeWasHorizontalExtension isn't cleared in several places
// where it should be, when opening a new document for example.
selection.setPosition(text, 0);
selection.modify("move", "forward", "character");

selection.setBaseAndExtent(text, 3 + 5, text, 3);
// Extending this 5 character selection will select 6 characters.
textInputController.doCommand("moveForwardAndModifySelection:");
Expand Down

0 comments on commit 94dbb6b

Please sign in to comment.