blob: cf021f9509d6be69cdc8a676a6ea4b6680a00164 [file] [log] [blame]
<html>
<head>
<style>
.editing {
border: 2px solid red;
padding: 12px;
font-size: 24px;
}
</style>
<script src=../editing.js language="JavaScript" type="text/JavaScript" ></script>
<script>
function editingTest() {
execExtendSelectionForwardByCharacterCommand();
foreColorCommand("green");
}
</script>
<title>Editing Test</title>
</head>
<body>
<p>This tests changing the forecolor of the first letter. The double quotation mark at the beginning must appear green.</p>
<div contenteditable id="root" class="editing">
<span id="test">"The quick brown fox jumps over the lazy dog" uses every
letter in the english language.
</span>
</div>
<script>
runDumpAsTextEditingTest();
</script>
</body>
</html>