Bug 184016 - [Extra zoom mode] Add plumbing for next and previous focusable element rects
Summary: [Extra zoom mode] Add plumbing for next and previous focusable element rects
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit Misc. (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Wenson Hsieh
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2018-03-26 11:15 PDT by Wenson Hsieh
Modified: 2018-03-26 12:09 PDT (History)
6 users (show)

See Also:


Attachments
Patch (6.83 KB, patch)
2018-03-26 11:24 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 2018-03-26 11:15:36 PDT
Work towards <rdar://problem/38758727>
Comment 1 Wenson Hsieh 2018-03-26 11:24:12 PDT
Created attachment 336528 [details]
Patch
Comment 2 Tim Horton 2018-03-26 11:32:07 PDT
Comment on attachment 336528 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=336528&action=review

> Source/WebKit/Shared/AssistedNodeInformation.h:97
> +    WebCore::IntRect nextNodeRect;

I guess we’ll get subpixel sparkle if we try to use these without any padding? But that’s OK.
Comment 3 Wenson Hsieh 2018-03-26 11:38:09 PDT
(In reply to Tim Horton from comment #2)
> Comment on attachment 336528 [details]
> Patch
> 
> View in context:
> https://bugs.webkit.org/attachment.cgi?id=336528&action=review
> 
> > Source/WebKit/Shared/AssistedNodeInformation.h:97
> > +    WebCore::IntRect nextNodeRect;
> 
> I guess we’ll get subpixel sparkle if we try to use these without any
> padding? But that’s OK.

I see! Perhaps we should be inflating to device pixel boundaries here? FWIW, the rect of the assisted node currently doesn't adjust for this, but perhaps we could look into it as a followup.
Comment 4 Tim Horton 2018-03-26 11:46:28 PDT
Someday! Not important.
Comment 5 WebKit Commit Bot 2018-03-26 12:09:37 PDT
Comment on attachment 336528 [details]
Patch

Clearing flags on attachment: 336528

Committed r229982: <https://trac.webkit.org/changeset/229982>
Comment 6 WebKit Commit Bot 2018-03-26 12:09:39 PDT
All reviewed patches have been landed.  Closing bug.