<!DOCTYPE html>
<html>
  <head>
    <title>Incomplete drag and drop with deactivate in Flash</title>
    <style type="text/css">
object {
  width: 400px;
  height: 400px;
  border: 5px solid black;
}
    </style>
  </head>
  <body>
    <noscript><p>Enable JavaScript and reload</p></noscript>
    <!-- Test is based on expected behaviour where the mouseup is sent to the plugin because a drag was in operation. -->
    <p>Drag the orange square until the mouse is outside the black square, then release it. Move the mouse over the blue square. Fail if the orange square continues to follow the mouse.</p>
    <script type="text/javascript">
var plugincode = '<object data="dragndropleavedeactivate.swf" type="application/x-shockwave-flash">Flash plugin is required for this test.</object>';
    </script>
    <script type="text/javascript" src="click-to-activate.js"></script>
  </body>
</html>
