[Webkit-unassigned] [Bug 243986] Allow changing text selection by clicking the padding area on an input field

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Aug 16 16:25:18 PDT 2022


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

Karl Dubost <karlcow at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |karlcow at apple.com

--- Comment #3 from Karl Dubost <karlcow at apple.com> ---
Created attachment 461681

  --> https://bugs.webkit.org/attachment.cgi?id=461681&action=review

shadow content

I just tested with Safari Version 16.0 (18614.1.19.1.5)
on macOS 13.0 Beta (22A5295i)
And I can't reproduce.

The text selection is happening. 

Jesper, do you have more details to reproduce?
Or do you have information on plugins, extensions you would have installed. 

Ha I think I figured it out.
This is more about hit testing and the selectable area. 
In the screencast, the cursor is placed above the text but inside the search form.
On Firefox, the selection happens, on Safari it doesn't.

The markup is a box which is 44px high.

<input type="text" 
   name="q" tabindex="1" autocomplete="off" 
   id="search_form_input" class="search__input--adv js-search-input" 
   value="lorem ipsum dolor sit amet" 
   autocapitalize="off" autocorrect="off">

The shadow content is 20px high:

<div contenteditable="plaintext-only">lorem ipsum dolor sit amet</div>


The selection is happening only if the cursor is in the 20px high area.
See the screenshot about shadow content.

-- 
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/20220816/15efa22d/attachment.htm>


More information about the webkit-unassigned mailing list