Bug 57353 - Autocorrection panel isn't positioned correctly in Safari (mac) when the zooming is not 1x.
Summary: Autocorrection panel isn't positioned correctly in Safari (mac) when the zoom...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 528+ (Nightly build)
Hardware: Mac (Intel) OS X 10.6
: P2 Normal
Assignee: Jia Pu
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2011-03-29 09:56 PDT by Jia Pu
Modified: 2011-03-30 20:35 PDT (History)
5 users (show)

See Also:


Attachments
Patch (v1) (13.33 KB, patch)
2011-03-29 14:38 PDT, Jia Pu
no flags Details | Formatted Diff | Diff
Patch (v2) (13.27 KB, patch)
2011-03-29 15:53 PDT, Jia Pu
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jia Pu 2011-03-29 09:56:31 PDT
When Cmd-+/- is applied to the page being displayed in Safari window, autocorrection panel is displayed at incorrect location.
<rdar://problem/9163983>
Comment 1 Jia Pu 2011-03-29 14:38:13 PDT
Created attachment 87412 [details]
Patch (v1)
Comment 2 Darin Adler 2011-03-29 15:27:07 PDT
Comment on attachment 87412 [details]
Patch (v1)

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

> Source/WebCore/page/Frame.cpp:948
> +    Editor* editor = this->editor();
> +    if (editor)
> +        editor->dismissCorrectionPanel(ReasonForDismissingCorrectionPanelIgnored);

It is incorrect to null-check editor. The Editor is actually a data member of Frame, and so can never be null.
Comment 3 Jia Pu 2011-03-29 15:53:53 PDT
Created attachment 87421 [details]
Patch (v2)
Comment 4 WebKit Commit Bot 2011-03-30 19:08:51 PDT
Comment on attachment 87421 [details]
Patch (v2)

Clearing flags on attachment: 87421

Committed r82533: <http://trac.webkit.org/changeset/82533>
Comment 5 WebKit Commit Bot 2011-03-30 19:08:55 PDT
All reviewed patches have been landed.  Closing bug.
Comment 6 WebKit Review Bot 2011-03-30 20:35:42 PDT
http://trac.webkit.org/changeset/82533 might have broken GTK Linux 32-bit Debug