test-context-menu.html 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. <!-- This Source Code Form is subject to the terms of the Mozilla Public
  2. - License, v. 2.0. If a copy of the MPL was not distributed with this
  3. - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
  4. <html>
  5. <head>
  6. <meta charset="UTF-8">
  7. <title>Context menu test</title>
  8. <style>
  9. p { display: inline-block; }
  10. </style>
  11. </head>
  12. <body>
  13. <p>
  14. <img id="image" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAAK/INwWK6QAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAHWSURBVHjaYvz//z8DJQAggJiQOe/fv2fv7Oz8rays/N+VkfG/iYnJfyD/1+rVq7ffu3dPFpsBAAHEAHIBCJ85c8bN2Nj4vwsDw/8zQLwKiO8CcRoQu0DxqlWrdsHUwzBAAIGJmTNnPgYa9j8UqhFElwPxf2MIDeIrKSn9FwSJoRkAEEAM0DD4DzMAyPi/G+QKY4hh5WAXGf8PDQ0FGwJ22d27CjADAAIIrLmjo+MXA9R2kAHvGBA2wwx6B8W7od6CeQcggKCmCEL8bgwxYCbUIGTDVkHDBia+CuotgACCueD3TDQN75D4xmAvCoK9ARMHBzAw0AECiBHkAlC0Mdy7x9ABNA3obAZXIAa6iKEcGlMVQHwWyjYuL2d4v2cPg8vZswx7gHyAAAK7AOif7SAbOqCmn4Ha3AHFsIDtgPq/vLz8P4MSkJ2W9h8ggBjevXvHDo4FQUQg/kdypqCg4H8lUIACnQ/SOBMYI8bAsAJFPcj1AAEEjwVQqLpAbXmH5BJjqI0gi9DTAAgDBBCcAVLkgmQ7yKCZxpCQxqUZhAECCJ4XgMl493ug21ZD+aDAXH0WLM4A9MZPXJkJIIAwTAR5pQMalaCABQUULttBGCCAGCnNzgABBgAMJ5THwGvJLAAAAABJRU5ErkJggg==">
  15. </p>
  16. <p>
  17. <a id="link" href="">
  18. A simple link.
  19. </a>
  20. </p>
  21. <p>
  22. <a href="">
  23. <span id="span-link">
  24. A span inside a link.
  25. </span>
  26. </a>
  27. </p>
  28. <p id="text">
  29. Some text.
  30. </p>
  31. <p>
  32. <textarea id="textfield">
  33. A text field,
  34. with some text.
  35. </textarea>
  36. </p>
  37. <p>
  38. <iframe id="iframe" src="data:text/html;charset=utf-8,<p id='text'>An iframe</p>."
  39. width="200" height="100">
  40. </iframe>
  41. </p>
  42. <p>
  43. <a id="targetlink" target="_blank" href="">
  44. A targetted link.
  45. </a>
  46. </p>
  47. <p>
  48. <input type="submit" id="button">
  49. </p>
  50. <p>
  51. <a class="predicate-test-a" href="#test">
  52. A link with no ID and an anchor, used by PredicateContext tests.
  53. </a>
  54. </p>
  55. <p>
  56. <input type="text" id="textbox" value="test value">
  57. </p>
  58. <p>
  59. <input type="text" id="readonly-textbox" readonly="true" value="readonly value">
  60. </p>
  61. <p>
  62. <input type="text" id="disabled-textbox" disabled="true" value="disabled value">
  63. </p>
  64. <p>
  65. <p contenteditable="true" id="editable">This content is editable.</p>
  66. </p>
  67. </body>
  68. </html>