[Webkit-unassigned] [Bug 250215] New: REGRESSION(257981 at main): Form control focus ring is clipped when zooming in
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Jan 6 09:33:17 PST 2023
https://bugs.webkit.org/show_bug.cgi?id=250215
Bug ID: 250215
Summary: REGRESSION(257981 at main): Form control focus ring is
clipped when zooming in
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Layout and Rendering
Assignee: webkit-unassigned at lists.webkit.org
Reporter: sabouhallawa at apple.com
CC: bfulgham at webkit.org, simon.fraser at apple.com,
zalan at apple.com
Created attachment 464376
--> https://bugs.webkit.org/attachment.cgi?id=464376&action=review
test case
1. Open the attached test case
2. Click inside the search field
Result: The focus ring is clipped.
In 257981 at main, ThemeMac::drawCellOrFocusRingWithViewIntoContext() was refactored to ControlMac::drawCell(). In these two functions, the NSCell drawing will be routed to an ImageBuffer if the page is zoomed. After the drawing this ImageBuffer is drawn into the destination context. When the form control is focused, we ask AppKit to draw also a focus ring around the rectangle of form control. AppKit bleeds at maximum three pixels around the drawing rectangle. hemeMac::drawCellOrFocusRingWithViewIntoContext() handles this issue by inflating the ImageBuffer size by three pixels. This size inflation needs to be ported to ControlMac::drawCell().
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230106/eff19259/attachment.htm>
More information about the webkit-unassigned
mailing list