Summary: | TextIndicator should support a mode where selection rects are used to size the snapshot | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Wenson Hsieh <wenson_hsieh> | ||||||
Component: | WebCore Misc. | Assignee: | Wenson Hsieh <wenson_hsieh> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | CC: | bdakin, cdumez, commit-queue, dbates, esprehn+autocc, kangil.han, megan_gardner, thorton, webkit-bug-importer | ||||||
Priority: | P2 | Keywords: | InRadar | ||||||
Version: | WebKit Nightly Build | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Attachments: |
|
Description
Wenson Hsieh
2017-03-17 22:03:53 PDT
Created attachment 304861 [details]
Patch
Created attachment 304863 [details]
Hook into new flag in WK2
Comment on attachment 304863 [details]
Hook into new flag in WK2
Thanks Beth!
Comment on attachment 304863 [details] Hook into new flag in WK2 Clearing flags on attachment: 304863 Committed r214174: <http://trac.webkit.org/changeset/214174> All reviewed patches have been landed. Closing bug. Comment on attachment 304863 [details] Hook into new flag in WK2 View in context: https://bugs.webkit.org/attachment.cgi?id=304863&action=review > Source/WebCore/page/TextIndicator.h:89 > + // Currently, this is only supported on iOS. This is a little weird, I think, because the text rects *are* the selection rects on Mac, right? (In reply to Tim Horton from comment #6) > Comment on attachment 304863 [details] > Hook into new flag in WK2 > > View in context: > https://bugs.webkit.org/attachment.cgi?id=304863&action=review > > > Source/WebCore/page/TextIndicator.h:89 > > + // Currently, this is only supported on iOS. > > This is a little weird, I think, because the text rects *are* the selection > rects on Mac, right? True. This is a bit confusing, since the rects used here specifically refer to those emitted by our selection rect collection heuristic on iOS. I'll make this distinction clear in a followup. |