suite/browser/test/mochitest/subtst_contextmenu.html
author Serge Gautherie <sgautherie.bz@free.fr>
Thu, 22 Dec 2011 14:45:16 +0100
changeset 10274 aeefba3ebe64a7f51053c069673b0868349725be
parent 6315 87014e0c1dcbfd8bb0f9440d596835cf88310359
child 10280 abb5e5bbbcd3e5bab55fb62ac1e01cb0fa0bf06c
permissions -rw-r--r--
Bug 712871. (Bv1) Update test after bug 697124 ('controls' part). r=neil.

<!DOCTYPE HTML>
<html>
<head>
  <title>Subtest for browser context menu</title>
</head>
<body>
Browser context menu subtest.

<div id="test-text">Lorem ipsum dolor sit amet, consectetuer adipiscing elit.</div>
<a id="test-link" href="http://mozilla.com">Click the monkey!</a>
<a id="test-mailto" href="mailto:codemonkey@mozilla.com">Mail the monkey!</a><br>
<input id="test-input"><br>
<img id="test-image" src="ctxmenu-image.png">
<a href="http://mozilla.com"><img id="test-image-link" alt="Click the monkey!" src="ctxmenu-image.png"></a>
<a href="mailto:codemonkey@mozilla.com"><img id="test-image-mailto" alt="Mail the monkey!" src="ctxmenu-image.png"></a><br>
<canvas id="test-canvas" width="100" height="100" style="background-color: blue"></canvas>
<video controls id="test-video-ok"  src="video.ogg" width="100" height="100" style="background-color: green"></video>
<video controls id="test-video-bad" src="bogus.duh" width="100" height="100" style="background-color: orange"></video>
<video controls id="test-video-bad2" width="100" height="100" style="background-color: yellow">
  <source src="bogus.duh" type="video/durrrr;">
</video>
<iframe id="test-iframe" width="98"  height="98" style="border: 1px solid black"></iframe>
<textarea id="test-textarea">chssseesbbbie</textarea> <!-- a weird word which generates only one suggestion -->
<div id="test-contenteditable" contenteditable="true">chssseefsbbbie</div> <!-- a more weird word which generates no suggestions -->
<input id="test-input-spellcheck" type="text" spellcheck="true" autofocus value="prodkjfgigrty"> <!-- this one also generates one suggestion -->

</body>
</html>