<!DOCTYPE html> <html> <head> <style> .container { margin: 10px; width: 300px; height: 200px; background-color: grey; } .static { display: static; } .inline-block { display: inline-block; } *[draggable=true] { width: 100px; height: 100px; margin: 10px; background-color: green; } </style> </head> <body> <div class="container inline-block static"> display: inline-block; position: static; <div draggable="true">Drag Me</div> If the drag-icon follow the mouse pointer while dragging the above green div, the test passes. </div> </body> </html>