| #target { border: solid; -webkit-user-drag: element; width: 100px; height: 100px; } |
| #target:before { content: "Drag this"; } |
| #target:-webkit-drag:before { color: blue; } |
| Test for <i><a href="https://bugs.webkit.org/show_bug.cgi?id=47005">https://bugs.webkit.org/show_bug.cgi?id=47005</a> |
| Null dereference when dragging an element with generated content</i>. |
| Drag the box above. The text should become blue and the browser should not crash. |
| eventSender.mouseMoveTo(50, 50); |
| eventSender.mouseMoveTo(250, 250); |