blob: 4d8432b0731161df1db7d7673969eed7ab3520c4 [file] [log] [blame]
<!doctype html>
<html>
<head>
<title>HTML5 Drag and Drop: Auto state of draggable attribute for img element</title>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type"/>
<link rel="author" title="Microsoft" href="http://www.microsoft.com/"/>
<link rel="help" href="http://dev.w3.org/html5/spec/dnd.html#the-draggable-attribute"/>
<meta name="assert" content="Auto state of draggable attribute for img element"/>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
</head>
<body>
<div id=log></div>
<img style="width:200px; height:100px; display:none;" id="target"/>
<script type="text/javascript">
test(function() {assert_true(document.getElementById("target").draggable)}, "Auto state of draggable attribute for img element");
</script>
</body>
</html>