Thu, 15 Jan 2015 15:55:04 +0100
Back out 97036ab72558 which inappropriately compared turds to third parties.
michael@0 | 1 | <!DOCTYPE HTML> |
michael@0 | 2 | <html> |
michael@0 | 3 | <head> |
michael@0 | 4 | <title>Subtest for browser context menu</title> |
michael@0 | 5 | </head> |
michael@0 | 6 | <body> |
michael@0 | 7 | Browser context menu subtest. |
michael@0 | 8 | |
michael@0 | 9 | <div id="test-text">Lorem ipsum dolor sit amet, consectetuer adipiscing elit.</div> |
michael@0 | 10 | <a id="test-link" href="http://mozilla.com">Click the monkey!</a> |
michael@0 | 11 | <a id="test-mailto" href="mailto:codemonkey@mozilla.com">Mail the monkey!</a><br> |
michael@0 | 12 | <input id="test-input"><br> |
michael@0 | 13 | <img id="test-image" src="ctxmenu-image.png"> |
michael@0 | 14 | <canvas id="test-canvas" width="100" height="100" style="background-color: blue"></canvas> |
michael@0 | 15 | <video controls id="test-video-ok" src="video.ogg" width="100" height="100" style="background-color: green"></video> |
michael@0 | 16 | <video id="test-audio-in-video" src="audio.ogg" width="100" height="100" style="background-color: red"></video> |
michael@0 | 17 | <video controls id="test-video-bad" src="bogus.duh" width="100" height="100" style="background-color: orange"></video> |
michael@0 | 18 | <video controls id="test-video-bad2" width="100" height="100" style="background-color: yellow"> |
michael@0 | 19 | <source src="bogus.duh" type="video/durrrr;"> |
michael@0 | 20 | </video> |
michael@0 | 21 | <iframe id="test-iframe" width="98" height="98" style="border: 1px solid black"></iframe> |
michael@0 | 22 | <iframe id="test-video-in-iframe" src="video.ogg" width="98" height="98" style="border: 1px solid black"></iframe> |
michael@0 | 23 | <iframe id="test-image-in-iframe" src="ctxmenu-image.png" width="98" height="98" style="border: 1px solid black"></iframe> |
michael@0 | 24 | <textarea id="test-textarea">chssseesbbbie</textarea> <!-- a weird word which generates only one suggestion --> |
michael@0 | 25 | <div id="test-contenteditable" contenteditable="true">chssseefsbbbie</div> <!-- a more weird word which generates no suggestions --> |
michael@0 | 26 | <div id="test-contenteditable-spellcheck-false" contenteditable="true" spellcheck="false">test</div> <!-- No Check Spelling menu item --> |
michael@0 | 27 | <div id="test-dom-full-screen">DOM full screen FTW</div> |
michael@0 | 28 | <div contextmenu="myMenu"> |
michael@0 | 29 | <p id="test-pagemenu" hopeless="true">I've got a context menu!</p> |
michael@0 | 30 | <menu id="myMenu" type="context"> |
michael@0 | 31 | <menuitem label="Plain item" onclick="document.getElementById('test-pagemenu').removeAttribute('hopeless');"></menuitem> |
michael@0 | 32 | <menuitem label="Disabled item" disabled></menuitem> |
michael@0 | 33 | <menuitem> Item w/ textContent</menuitem> |
michael@0 | 34 | <menu> |
michael@0 | 35 | <menuitem type="checkbox" label="Checkbox" checked></menuitem> |
michael@0 | 36 | </menu> |
michael@0 | 37 | <menu> |
michael@0 | 38 | <menuitem type="radio" label="Radio1" checked></menuitem> |
michael@0 | 39 | <menuitem type="radio" label="Radio2"></menuitem> |
michael@0 | 40 | <menuitem type="radio" label="Radio3"></menuitem> |
michael@0 | 41 | </menu> |
michael@0 | 42 | <menu> |
michael@0 | 43 | <menuitem label="Item w/ icon" icon="favicon.ico"></menuitem> |
michael@0 | 44 | <menuitem label="Item w/ bad icon" icon="data://www.mozilla.org/favicon.ico"></menuitem> |
michael@0 | 45 | </menu> |
michael@0 | 46 | <menu label="Submenu"> |
michael@0 | 47 | <menuitem type="radio" label="Radio1" radiogroup="rg"></menuitem> |
michael@0 | 48 | <menuitem type="radio" label="Radio2" checked radiogroup="rg"></menuitem> |
michael@0 | 49 | <menuitem type="radio" label="Radio3" radiogroup="rg"></menuitem> |
michael@0 | 50 | <menu> |
michael@0 | 51 | <menuitem type="checkbox" label="Checkbox"></menuitem> |
michael@0 | 52 | </menu> |
michael@0 | 53 | </menu> |
michael@0 | 54 | <menu hidden> |
michael@0 | 55 | <menuitem label="Bogus item"></menuitem> |
michael@0 | 56 | </menu> |
michael@0 | 57 | <menu> |
michael@0 | 58 | </menu> |
michael@0 | 59 | <menuitem label="Hidden item" hidden></menuitem> |
michael@0 | 60 | <menuitem></menuitem> |
michael@0 | 61 | </menu> |
michael@0 | 62 | </div> |
michael@0 | 63 | <div id="test-select-text">Lorem ipsum dolor sit amet, consectetuer adipiscing elit.</div> |
michael@0 | 64 | <div id="test-select-text-link">http://mozilla.com</div> |
michael@0 | 65 | <a id="test-image-link" href="#"><img src="ctxmenu-image.png"></a> |
michael@0 | 66 | <input id="test-select-input-text" type="text" value="input"> |
michael@0 | 67 | <input id="test-select-input-text-type-password" type="password" value="password"> |
michael@0 | 68 | <embed id="test-plugin" style="width: 200px; height: 200px;" type="application/x-test"></embed> |
michael@0 | 69 | <img id="test-longdesc" src="ctxmenu-image.png" longdesc="http://www.mozilla.org"></embed> |
michael@0 | 70 | <iframe id="test-srcdoc" width="98" height="98" srcdoc="Hello World" style="border: 1px solid black"></iframe> |
michael@0 | 71 | </body> |
michael@0 | 72 | </html> |