[Webkit-unassigned] [Bug 146916] Input buttons rendered at the wrong size when pinching-to-zoom
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Jul 14 12:12:34 PDT 2015
https://bugs.webkit.org/show_bug.cgi?id=146916
Dean Jackson <dino at apple.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #256772|review+ |review-
Flags| |
--- Comment #11 from Dean Jackson <dino at apple.com> ---
Comment on attachment 256772
--> https://bugs.webkit.org/attachment.cgi?id=256772
Patch
View in context: https://bugs.webkit.org/attachment.cgi?id=256772&action=review
> Source/WebCore/platform/mac/ThemeMac.mm:540
> +static void paintButton(ControlPart part, ControlStates* controlStates, GraphicsContext* context, const FloatRect& zoomedRect, float zoomFactor, ScrollView* scrollView, float deviceScaleFactor, float pageScaleFactor)
> {
Now that we have the scale factors, we should use them to pick the most appropriate control size. i.e. if we have a small control and are really zoomed in, it doesn't make sense to draw a small bitmap in a huge area, when we can get the bigger bitmap by asking for a larger control.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150714/27f8082d/attachment.html>
More information about the webkit-unassigned
mailing list