WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
191024
Clicking on non-editable element no longer sets selection in iOS 12
https://bugs.webkit.org/show_bug.cgi?id=191024
Summary
Clicking on non-editable element no longer sets selection in iOS 12
Timo Kalliomäki
Reported
2018-10-29 02:23:38 PDT
Created
attachment 353278
[details]
A document illustrating the broken behavior iOS 12.0 WebKit 605.1.15, seen on both Safari and Chrome. Expected behavior: when clicking on a selectable but non-editable element, e.g. <p>, a selection of type Caret is set. Actual behavior: no selection is set on iOS 12. Test case: Attached is an HTML document with various elements with an onclick handler which will print a diagnostic regarding the current selection. Expected behavior is that elements BCDE can get a Caret selection (and this is what happens e.g. on desktop Chrome and Android Chrome). However, only the editable DE will. An additional note (I am not sure whether this is the “same bug” or a distinct one): once a selection is set, clicking on a non-selectable element (A) should not change the selection. However, on iOS 12 clicking on a non-selectable element will clear the selection.
Attachments
A document illustrating the broken behavior
(908 bytes, text/html)
2018-10-29 02:23 PDT
,
Timo Kalliomäki
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2018-10-29 16:51:48 PDT
<
rdar://problem/45654648
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug