[Webkit-unassigned] [Bug 209736] textarea selectionDirection returns 'none' for mouse selection

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Mar 30 14:51:03 PDT 2020


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

Ryosuke Niwa <rniwa at webkit.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID

--- Comment #3 from Ryosuke Niwa <rniwa at webkit.org> ---
(In reply to Bing Wang from comment #0)
> Steps to reproduce the problem:
> 1. Select some text inside a textarea in backward/forward direction
> 2. get selectionDirection property on that textarea via javascript
> 
> What is the expected behavior?
> Expected to get value 'backward/forward'
> 
> What went wrong?
> Always get 'none'

This is expected. On macOS, mouse selection is directionless. The selection extends backwards or forwards depending on user's input, at which point the direction will be determined.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20200330/cc4fc13e/attachment-0001.htm>


More information about the webkit-unassigned mailing list