OLD | NEW |
---|---|
(Empty) | |
1 <!DOCTYPE html> | |
2 <html> | |
3 <head> | |
4 <style> | |
5 .container { | |
6 margin: 10px; | |
7 width: 300px; | |
8 height: 200px; | |
9 background-color: grey; | |
10 } | |
11 | |
12 .static { | |
13 display: static; | |
14 } | |
15 | |
16 .inline-block { | |
17 display: inline-block; | |
18 } | |
19 | |
20 *[draggable=true] { | |
21 width: 100px; | |
22 height: 100px; | |
23 margin: 10px; | |
24 background-color: green; | |
25 } | |
26 </style> | |
27 </head> | |
28 <body> | |
29 <div class="container inline-block static"> | |
30 display: inline-block; position: static; | |
31 <div draggable="true">Drag Me</div> | |
32 If the drag-icon follow the mouse pointer while dragging the above green d iv, the test passes. | |
33 </div> | |
34 </body> | |
35 </html> | |
OLD | NEW |