Skip to content

Commit 9bef32c

Browse files
committed
[Live Range Selection] editing/pasteboard/smart-drag-drop.html fails
https://bugs.webkit.org/show_bug.cgi?id=248799 Reviewed by Wenson Hsieh. Explicitly set the selection at the beginning of the dragged content. * LayoutTests/editing/pasteboard/smart-drag-drop.html: Canonical link: https://commits.webkit.org/257425@main
1 parent c52dcd0 commit 9bef32c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

LayoutTests/editing/pasteboard/smart-drag-drop.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@
44
<script src="../../resources/dump-as-markup.js"></script>
55
<script>
66
function editingTest() {
7-
7+
test.focus();
8+
getSelection().setPosition(dragme.firstChild, 0);
9+
810
if (!window.eventSender)
911
return;
1012
doubleClickAtSelectionStart();

0 commit comments

Comments
 (0)