Summary: | Force dictionary popup to use overlay type | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Sam Weinig <sam> | ||||
Component: | New Bugs | Assignee: | Sam Weinig <sam> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | ||||||
Priority: | P2 | ||||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | Other | ||||||
OS: | OS X 10.5 | ||||||
Attachments: |
|
Description
Sam Weinig
2011-02-27 17:24:18 PST
Created attachment 84006 [details]
Patch
Comment on attachment 84006 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=84006&action=review > Source/WebKit2/UIProcess/API/mac/PageClientImpl.mm:430 > + [m_wkView showDefinitionForAttributedString:attributedString.get() > + range:NSMakeRange(0, [attributedString.get() length]) > + options:options > + baselineOriginProvider:^(NSRange adjustedRange) { return (NSPoint)textBaselineOrigin; }]; Aligning arguments this way is not WebKit style. Please fix. |