Bug 199366 - [iOS] REGRESSION (r246757): Unable to select non-editable text in subframes
Summary: [iOS] REGRESSION (r246757): Unable to select non-editable text in subframes
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: HTML Editing (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Wenson Hsieh
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2019-07-01 08:15 PDT by Wenson Hsieh
Modified: 2019-07-01 15:10 PDT (History)
6 users (show)

See Also:


Attachments
Patch (4.95 KB, patch)
2019-07-01 13:44 PDT, Wenson Hsieh
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Wenson Hsieh 2019-07-01 08:15:17 PDT
To reproduce:

1. Go to https://whsieh.github.io/examples/subframes.
2. Try to select any of the text in the first section (lorem.html) by any of the usual means (long pressing, via tap-and-half, etc.)

Observe that you can’t select any text.
Comment 1 Radar WebKit Bug Importer 2019-07-01 08:19:56 PDT
<rdar://problem/52460509>
Comment 2 Wenson Hsieh 2019-07-01 08:20:03 PDT
Appears to be a recent regression in iOS 13.
Comment 3 Wenson Hsieh 2019-07-01 08:39:56 PDT
Caused by: https://trac.webkit.org/changeset/246757/webkit

That revision also caused several layout tests to consistently fail:

• editing/selection/ios/dispatch-mouse-events-when-modifying-selection-quirk.html
• editing/selection/ios/selection-handles-in-iframe.html
• editing/selection/ios/selection-handle-clamping-in-iframe.html
Comment 4 Wenson Hsieh 2019-07-01 13:43:07 PDT
(In reply to Wenson Hsieh from comment #3)
> Caused by: https://trac.webkit.org/changeset/246757/webkit
> 
> That revision also caused several layout tests to consistently fail:
> 
> •
> editing/selection/ios/dispatch-mouse-events-when-modifying-selection-quirk.
> html

This one’s actually failing for a different reason.

> • editing/selection/ios/selection-handles-in-iframe.html
> • editing/selection/ios/selection-handle-clamping-in-iframe.html
Comment 5 Wenson Hsieh 2019-07-01 13:44:18 PDT
Created attachment 373253 [details]
Patch
Comment 6 WebKit Commit Bot 2019-07-01 15:10:51 PDT
Comment on attachment 373253 [details]
Patch

Clearing flags on attachment: 373253

Committed r247027: <https://trac.webkit.org/changeset/247027>
Comment 7 WebKit Commit Bot 2019-07-01 15:10:53 PDT
All reviewed patches have been landed.  Closing bug.