| Index: content/test/data/browser_plugin_dragging.html
|
| diff --git a/content/test/data/browser_plugin_dragging.html b/content/test/data/browser_plugin_dragging.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..cecfd1447ec356d7dd36ed4691ade2fcd56b4e6f
|
| --- /dev/null
|
| +++ b/content/test/data/browser_plugin_dragging.html
|
| @@ -0,0 +1,29 @@
|
| +<textarea id='id_message'>
|
| +</textarea>
|
| +
|
| +<object id="plugin"
|
| + tabindex="0"
|
| + type="application/browser-plugin"
|
| + width="240"
|
| + height="120"
|
| + style='border: solid 1px red'
|
| + contentEditable
|
| + >
|
| +</object>
|
| +
|
| +<script>
|
| +function dragLocation() {
|
| + return [id_message.offsetLeft + id_message.offsetWidth / 2,
|
| + id_message.offsetTop + id_message.offsetHeight / 2];
|
| +}
|
| +
|
| +function dropLocation() {
|
| + return [plugin.offsetLeft + plugin.offsetWidth / 2,
|
| + plugin.offsetTop + plugin.offsetHeight / 2];
|
| +}
|
| +
|
| +function SetSrc(src) {
|
| + plugin = document.getElementById('plugin');
|
| + plugin.src = src;
|
| +}
|
| +</script>
|
|
|