summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/old-tests/submission/Microsoft/dragdrop/dragdrop_006-manual.htm
blob: 4d8432b0731161df1db7d7673969eed7ab3520c4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<!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>