зеркало из https://github.com/mozilla/gecko-dev.git
99 строки
3.6 KiB
HTML
99 строки
3.6 KiB
HTML
<!-- This Source Code Form is subject to the terms of the Mozilla Public
|
|
- License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
|
|
|
|
<html>
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<title>Context menu test</title>
|
|
<style>
|
|
p { display: inline-block; }
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<p>
|
|
<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==">
|
|
</p>
|
|
|
|
<p>
|
|
<a id="link" href="">
|
|
A simple link.
|
|
</a>
|
|
</p>
|
|
|
|
<p>
|
|
<a href="">
|
|
<span id="span-link">
|
|
A span inside a link.
|
|
</span>
|
|
</a>
|
|
</p>
|
|
|
|
<p id="text">
|
|
Some text.
|
|
</p>
|
|
|
|
<p>
|
|
<textarea id="textfield">
|
|
A text field,
|
|
with some text.
|
|
</textarea>
|
|
</p>
|
|
|
|
<p>
|
|
<iframe id="iframe" src="data:text/html;charset=utf-8,<p id='text'>An iframe</p>."
|
|
width="200" height="100">
|
|
</iframe>
|
|
</p>
|
|
|
|
<p>
|
|
<a id="targetlink" target="_blank" href="">
|
|
A targetted link.
|
|
</a>
|
|
</p>
|
|
|
|
<p>
|
|
<input type="submit" id="button">
|
|
</p>
|
|
|
|
<p>
|
|
<a class="predicate-test-a" href="#test">
|
|
A link with no ID and an anchor, used by PredicateContext tests.
|
|
</a>
|
|
</p>
|
|
|
|
<p>
|
|
<a class="predicate-test-b" href="#nested-image">
|
|
<img id="predicate-test-nested-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==">
|
|
</a>
|
|
</p>
|
|
<p>
|
|
<a class="predicate-test-c" href="#nested-structure">
|
|
<span>
|
|
<span>
|
|
<span id="predicate-test-nested-structure">
|
|
A complex nested structure.
|
|
</span>
|
|
</span>
|
|
</span>
|
|
</a>
|
|
</p>
|
|
|
|
<p>
|
|
<input type="text" id="textbox" value="test value">
|
|
</p>
|
|
|
|
<p>
|
|
<input type="text" id="readonly-textbox" readonly="true" value="readonly value">
|
|
</p>
|
|
|
|
<p>
|
|
<input type="text" id="disabled-textbox" disabled="true" value="disabled value">
|
|
</p>
|
|
|
|
<p>
|
|
<p contenteditable="true" id="editable">This content is editable.</p>
|
|
</p>
|
|
</body>
|
|
</html>
|