Commit 74ecc801 authored by justing's avatar justing

Fixed some typos.



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15074 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent cc3bf9b2
......@@ -18,13 +18,13 @@ var e = document.getElementById("test");
var s = window.getSelection();
if (document.queryCommandEnabled("RemoveFormat"))
log("Failure: RemoveFormat enabled with no selection");
log("Failure: RemoveFormat enabled with no selection.");
s.setPosition(e, 0);
if (document.queryCommandEnabled("RemoveFormat"))
log("Failure: RemoveFormat enabled with a caret selection");
log("Failure: RemoveFormat enabled with a caret selection.");
document.execCommand("SelectAll");
if (!document.queryCommandEnabled("RemoveFormat"))
log("Failure: RemoveFormat disabled with a selection");
log("Failure: RemoveFormat disabled with an editable selection.");
if (!document.execCommand("RemoveFormat"))
log("Failure: execCommand('RemoveFormat') returned");
log("Failure: execCommand('RemoveFormat') returned false.");
</script>
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment