Skip to content

Commit

Permalink
Fix up dndTransferCases.html
Browse files Browse the repository at this point in the history
  • Loading branch information
ayg committed Aug 29, 2016
1 parent 2f84fe3 commit 94c5757
Showing 1 changed file with 4 additions and 5 deletions.
Expand Up @@ -14,7 +14,7 @@
height: 100px;
padding: 20px;
}
#select {
#drag {
color: blue;
margin: 20px auto;
}
Expand All @@ -28,16 +28,15 @@
<div id='log'> </div>

<script>
var drop;
var drag;
setup(function() {
drag = document.querySelector('#drag');
}, {explicit_done: true, explicit_timeout: true});

on_event(drag, 'dragstart', function(event) {
var dataTransfer = event.dataTransfer;
test(function() {
assert_equals(dataTransfer.effectAllowed, '', 'effectAllowed show be empty');
}, 'effectAllowed show be empty');
assert_equals(event.dataTransfer.effectAllowed, 'uninitialized');
}, 'effectAllowed should be "uninitialized"');
done();
});
</script>
Expand Down

0 comments on commit 94c5757

Please sign in to comment.