blob: 61d5a951551c5386fe8ecd4645b6b7aca53bfa4b [file] [log] [blame]
<!DOCTYPE html>
<html>
<body>
<div id="test" contenteditable="true">&#x1f46b;&#x1f46b;&#x1f3fb;&#x1f46b;&#x1f3ff;&#x1f46c;&#x1f46c;&#x1f3fb;&#x1f46c;&#x1f3ff;&#x1f46d;&#x1f46d;&#x1f3fb;&#x1f46d;&#x1f3ff;&#x1f46a;&#x1f46a;&#x1f3fb;&#x1f46a;&#x1f3ff;
</div>
<script src="../../resources/dump-as-markup.js"></script>
<script>
Markup.description("This test verifies that deletions are correct over emoji groups and emoji with variations");
var testElement = document.getElementById('test');
getSelection().setBaseAndExtent(testElement.firstChild, testElement.firstChild.length, testElement.firstChild, testElement.firstChild.length);
Markup.dump("test");
if (window.eventSender) {
while (window.getSelection().getRangeAt(0).startOffset > 0) {
eventSender.keyDown("leftArrow");
Markup.dump("test");
}
}
</script>
</body>
</html>