Bug 147021

Summary: Add shrink-wrapped link highlights
Product: WebKit Reporter: Tim Horton <thorton>
Component: New BugsAssignee: Tim Horton <thorton>
Status: RESOLVED FIXED    
Severity: Normal CC: andersca, enrica, sam, simon.fraser, thorton
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch enrica: review+

Description Tim Horton 2015-07-16 15:10:59 PDT
Add shrink-wrapped link highlights
Comment 1 Tim Horton 2015-07-16 15:12:39 PDT
Created attachment 256931 [details]
Patch
Comment 2 Tim Horton 2015-07-16 15:29:40 PDT
Comment on attachment 256931 [details]
Patch

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

> Source/WebKit2/WebProcess/WebPage/ios/WebPageIOS.mm:2201
> +                        RefPtr<TextIndicator> textIndicator = TextIndicator::createWithRange(*linkRange, TextIndicatorPresentationTransition::FadeIn, marginInPoints * deviceScaleFactor);

This should use TextIndicatorPresentationTransition::None (but it doesn't really matter as long as we don't use one that requires a contentImageWithHighlight).
Comment 3 Enrica Casucci 2015-07-16 15:58:08 PDT
Comment on attachment 256931 [details]
Patch

Looks good to me.
Comment 4 Tim Horton 2015-07-16 16:16:46 PDT
https://trac.webkit.org/changeset/186916