[Webkit-unassigned] [Bug 191024] New: Clicking on non-editable element no longer sets selection in iOS 12
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Oct 29 02:23:38 PDT 2018
https://bugs.webkit.org/show_bug.cgi?id=191024
Bug ID: 191024
Summary: Clicking on non-editable element no longer sets
selection in iOS 12
Product: WebKit
Version: Safari 12
Hardware: iPhone / iPad
OS: iOS 12
Status: NEW
Severity: Normal
Priority: P2
Component: HTML Editing
Assignee: webkit-unassigned at lists.webkit.org
Reporter: timoka10+webkit-bugzilla at gmail.com
CC: wenson_hsieh at apple.com
Created attachment 353278
--> https://bugs.webkit.org/attachment.cgi?id=353278&action=review
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.
--
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/20181029/ffad90d4/attachment-0001.html>
More information about the webkit-unassigned
mailing list