[Webkit-unassigned] [Bug 66469] window.getSelection().rangeCount does not update during a drag and drop

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Aug 18 15:25:34 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=66469





--- Comment #3 from Alexey Proskuryakov <ap at webkit.org>  2011-08-18 15:25:35 PST ---
There is no need to be snarky. Multiple people are likely to look at the bug, and having it in a common format with easily identifiable steps to reproduce really helps to move it forward. Please see <http://www.webkit.org/quality/bugwriting.html> for more detail.

So, steps to reproduce are:
1. Open http://www.deadmarshes.com/webkit/selection.html
2. Open Web Inspector.
3. Click on the test page to activate it again (if Web Inspector is in a separate window).
4. Click on editable text to focus it (you didn't mention that, but otherwise, there is no logging while dragging).
5. Start dragging the image over the text.
6. Check logs in Web Inspector console.

The selection doesn't change during dragging, so none of the selection properties change. Why do you expect otherwise? There is a vertical line drawn underneath mouse cursor during dragging, and it's similar to selection caret, but it's not the caret.

The bug title says that rangeCount in particular isn't getting updated. WebKit does not support multiple ranges per selection, so rangeCount can only ever be 0 or 1. What values of rangeCount do you expect to observe while dragging?

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list