WebCore/manual-tests/context-click-unfocused-frame.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

<frameset cols="*">
    <frame src="data:text/html,
        <script>
            function contextMenu()
            {
                document.getElementById('result').appendChild(document.createTextNode('PASS'));
            }
        </script>
        <body onmousedown='return false;' oncontextmenu='contextMenu(); return false;'>
            <p>
                Control-click (Mac) or right-click (Windows) below. The word 
                %26ldquo;PASS%26rdquo; should appear. A contextual menu should not open.
            </p>
            <p id='result'></p>
        </body>
    ">
</frameset>