diff options
Diffstat (limited to 'testing/web-platform/tests/html/editing/dnd/overlay/023.xhtml')
-rw-r--r-- | testing/web-platform/tests/html/editing/dnd/overlay/023.xhtml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/testing/web-platform/tests/html/editing/dnd/overlay/023.xhtml b/testing/web-platform/tests/html/editing/dnd/overlay/023.xhtml new file mode 100644 index 0000000000..c3f7ddf51b --- /dev/null +++ b/testing/web-platform/tests/html/editing/dnd/overlay/023.xhtml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="utf-8"?> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<title>Link drag and drop: changing draggable attribute</title> +</head> +<body onload="document.querySelector('a').setAttribute('draggable','false')"> +<p><a href="data:text/plain,1" ondragstart="document.querySelector('p').firstChild.nodeValue = 'FAIL'">Try to drag me</a></p> +<p>You should not be able to drag link above.</p> +</body> +</html>
\ No newline at end of file |