Debian Codegraph @

tests/visual/draggable/replaced.html

raw symbols SCIP
1 <!doctype html>
2 <html lang="en">
3 <head>
4 <meta charset="utf-8">
5 <title>Draggable Visual Test</title>
6 <link rel="stylesheet" href="../../../themes/base/all.css">
7 <script src="../../../external/requirejs/require.js"></script>
8 <script src="../../../demos/bootstrap.js">
9 $( "#draggable" )
10 .draggable()
11 .on( "mousedown", function() {
12 $( this ).html( "<div>replaced</div>" );
13 });
14 </script>
15
16 <style>
17 #draggable {
18 background: green;
19 height: 75px;
20 width: 75px;
21 }
22 </style>
23 </head>
24 <body>
25
26 <p>WHAT: A draggable, whose content is replaced onmousedown.</p>
27 <p>EXPECTED: In IE8, the draggable can actually be dragged.</p>
28
29 <div id="draggable"><div>content</div></div>
30
31 </body>
32 </html>