Index: LayoutTests/editing/spelling/spellcheck-async-mutation.html |
diff --git a/LayoutTests/editing/spelling/spellcheck-async-mutation.html b/LayoutTests/editing/spelling/spellcheck-async-mutation.html |
index 6f2c0d88fa25780c1cdac78e908043f7b2f05e7a..b417848f22a0ac5d0f878832a98dc3e55438f1af 100644 |
--- a/LayoutTests/editing/spelling/spellcheck-async-mutation.html |
+++ b/LayoutTests/editing/spelling/spellcheck-async-mutation.html |
@@ -211,7 +211,9 @@ function verifyExistenceOfMarkers(elem, tweakKind) { |
case 'delete': |
return true; |
case 'move': |
- // In move, marker should be there. |
+ // In move, marker should be there unless it's input which is moved. |
please use gerrit instead
2013/07/30 21:32:00
This sentence is not clear. Please explain in more
|
+ if (elem instanceof HTMLInputElement && elem !=document.activeElement) |
please use gerrit instead
2013/07/30 21:32:00
Please add a space after !=.
|
+ return true; |
var markerNum = internals.markerCountForNode(findFirstTextNode(elem), "spelling"); |
if (markerNum != 3) |
return false; |