diff options
Diffstat (limited to 'testing/web-platform/tests/html/editing/dnd/remove/010.xhtml')
-rw-r--r-- | testing/web-platform/tests/html/editing/dnd/remove/010.xhtml | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/testing/web-platform/tests/html/editing/dnd/remove/010.xhtml b/testing/web-platform/tests/html/editing/dnd/remove/010.xhtml new file mode 100644 index 000000000..f0e609277 --- /dev/null +++ b/testing/web-platform/tests/html/editing/dnd/remove/010.xhtml @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="utf-8"?> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<title>Changing object content during drag and drop of link</title> +<style type="text/css"> +object + {height:100px; + width:300px; + border:solid medium navy;} +</style> +</head> +<body ondragenter="event.preventDefault();document.querySelector('object').setAttribute('data','data:text/plain,Drop%20link%20outside%20this%20frame')" ondragover="return false" ondrop="document.querySelector('p').firstChild.nodeValue = (event.dataTransfer.getData('text/uri-list').replace(/\r\n$/,'') == 'data:text/plain,1')?'PASS':'FAIL'"> +<object type="application/xhtml+xml" data="helper-drag-me-link.xhtml">XHTML document</object> +<p>Drag link above out of frame and drop it somewhere on the page. You should see word PASS once you drop it.</p> +</body> +</html>
\ No newline at end of file |