WebCore/manual-tests/deleteToEndOfLine.html
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Mon, 04 Oct 2010 01:32:07 +0300
changeset 2 303757a437d3
parent 0 4f2f89ce4247
permissions -rw-r--r--
Revision: 201037 Kit: 201039

<html> 
<head>

<style>
.editing { 
    border: 1px solid red; 
    padding: 12px; 
    font-size: 24px; 
}
</style>

<title>deleteToEndOfLine: test</title> 
</head> 
<body>
<p>First add the following line to your ~/Library/KeyBindings/DefaultKeyBinding.dict then relaunch Safari: "^k" = "deleteToEndOfLine:";</p>
<p>Place the cursor between the two 'o's in 'Foo' and hit ^k twice.  The first should result in 'Fo\nbar' and the second should result in 'Fobar'.</p>
<div class="editing" contentEditable><div>Foo</div><div>bar</div></div>

</body>
</html>