[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 08:47:05 PDT 2015


https://bugs.webkit.org/show_bug.cgi?id=146916

--- Comment #6 from Simon Fraser (smfr) <simon.fraser at apple.com> ---
Comment on attachment 256770
  --> https://bugs.webkit.org/attachment.cgi?id=256770
Patch

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

> Source/WebCore/platform/mac/ThemeMac.mm:574
> +    std::unique_ptr<ImageBuffer> imageBuffer = nullptr;

No need to initialize with nullptr.

> Source/WebCore/platform/mac/ThemeMac.mm:603
> +            std::unique_ptr<ImageBuffer> focusRectImageBuffer = ImageBuffer::createCompatibleBuffer(inflatedRect.size() + 2 * FloatSize(focusWidth, focusWidth), deviceScaleFactor, ColorSpaceDeviceRGB, context, false);

Can we just draw the buttonCell and the focus ring into the same buffer? Just need to make a larger buffer up front.

-- 
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/142c59f2/attachment.html>


More information about the webkit-unassigned mailing list