WebCore/manual-tests/gtk/copy-htmltext.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

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <title>Copy HTML content</title>
    </head>
    <body>
        <h1>Copy HTML content from currently editable area</h1>
        <div title="EditableArea" contentEditable="true" 
            style="display: block; border: 2px solid black; margin: 5px; padding: 15px;">
            Here is a Editable Area,<br />
            <img title="It's the test image" src="http://webkit.org/images/icon-gold.png" /><br /><br />
            <b>STEPS TO TEST:</b><br />
            <ol>
                <li>Select all that text or picture in this editable area (type <b>Ctrl-A</b> / Option-A)</li>
                <li><b>Copy</b> them use <b>Ctrl-C</b> / Option-C</li>
                <li>Move the cursor to a blank line below</li>
                <li>Paste them use <b>Ctrl-V</b> / Option-V</li>
            </ol>
            <p><b>Ensure</b> that text and image has been pasted with formats and no garbled.</p>
            <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br />
        </div>       
    </body>
</html>