blob: 6b3e0dca5f6b2e87462c63ead3ee0935a56d32bf [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() {
justifyCenterCommand();
}
</script>
<title>Editing Test</title>
</head>
<body id="root" contenteditable>
<div id="test" class="editing">
Here is some text. Should be <b>centered</b>.
</div>
<div id="test" class="editing">
Here is some text. Should be <b>flush left</b>.
</div>
<script>
runEditingTest();
</script>
</body>
</html>