addon-sdk/source/test/test-context-menu.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/addon-sdk/source/test/test-context-menu.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,81 @@
     1.4 +<!-- This Source Code Form is subject to the terms of the Mozilla Public
     1.5 +   - License, v. 2.0. If a copy of the MPL was not distributed with this
     1.6 +   - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
     1.7 +
     1.8 +<html>
     1.9 +  <head>
    1.10 +    <meta charset="UTF-8">
    1.11 +    <title>Context menu test</title>
    1.12 +    <style>
    1.13 +      p { display: inline-block; }
    1.14 +    </style>
    1.15 +  </head>
    1.16 +  <body>
    1.17 +    <p>
    1.18 +      <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==">
    1.19 +    </p>
    1.20 +
    1.21 +    <p>
    1.22 +      <a id="link" href="">
    1.23 +        A simple link.
    1.24 +      </a>
    1.25 +    </p>
    1.26 +
    1.27 +    <p>
    1.28 +      <a href="">
    1.29 +        <span id="span-link">
    1.30 +          A span inside a link.
    1.31 +        </span>
    1.32 +      </a>
    1.33 +    </p>
    1.34 +
    1.35 +    <p id="text">
    1.36 +      Some text.
    1.37 +    </p>
    1.38 +
    1.39 +    <p>
    1.40 +      <textarea id="textfield">
    1.41 +        A text field,
    1.42 +        with some text.
    1.43 +      </textarea>
    1.44 +    </p>
    1.45 +
    1.46 +    <p>
    1.47 +      <iframe id="iframe" src="data:text/html;charset=utf-8,<p id='text'>An iframe</p>."
    1.48 +              width="200" height="100">
    1.49 +      </iframe>
    1.50 +    </p>
    1.51 +
    1.52 +    <p>
    1.53 +      <a id="targetlink" target="_blank" href="">
    1.54 +        A targetted link.
    1.55 +      </a>
    1.56 +    </p>
    1.57 +
    1.58 +    <p>
    1.59 +      <input type="submit" id="button">
    1.60 +    </p>
    1.61 +
    1.62 +    <p>
    1.63 +      <a class="predicate-test-a" href="#test">
    1.64 +        A link with no ID and an anchor, used by PredicateContext tests.
    1.65 +      </a>
    1.66 +    </p>
    1.67 +
    1.68 +    <p>
    1.69 +      <input type="text" id="textbox" value="test value">
    1.70 +    </p>
    1.71 +
    1.72 +    <p>
    1.73 +      <input type="text" id="readonly-textbox" readonly="true" value="readonly value">
    1.74 +    </p>
    1.75 +
    1.76 +    <p>
    1.77 +      <input type="text" id="disabled-textbox" disabled="true" value="disabled value">
    1.78 +    </p>
    1.79 +
    1.80 +    <p>
    1.81 +      <p contenteditable="true" id="editable">This content is editable.</p>
    1.82 +    </p>
    1.83 +  </body>
    1.84 +</html>

mercurial