blob: 3c7b64092c15add6c07a2314b53f243841522c7c [file] [log] [blame]
<html>
<head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<script src=../editing.js language="JavaScript" type="text/JavaScript" ></script>
<script>
function editingTest() {
if (window.testRunner)
testRunner.dumpSelectionRect();
selectAllCommand();
moveSelectionBackwardByCharacterCommand();
extendSelectionForwardByLineCommand();
}
</script>
</head>
<body>
<p>This tests that when a selection that ends at [replaced element, 0] is painted, the replaced element doesn't appear selected. This test uses a select box for the replaced element.</p>
<div id="test" contenteditable>
abc<br>
<select><option>this select box shouldn't be selected</option><option>2</option></select>
</div>
<script>runEditingTest()</script>
</body>
</html>