Bug 234313

Summary: replaced content should paint with pixel snapping
Product: WebKit Reporter: Cameron McCormack (:heycam) <heycam>
Component: Layout and RenderingAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: bfulgham, simon.fraser, webkit-bug-importer, zalan
Priority: P2 Keywords: InRadar
Version: WebKit Local Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
test none

Description Cameron McCormack (:heycam) 2021-12-14 13:56:49 PST
Created attachment 447156 [details]
test

See the attached test.  When I size my browser window to an odd number of pixels, on a Retina display, the canvas has blurry edges, probably because is position is not an integer number of pixels.
Comment 1 Simon Fraser (smfr) 2021-12-14 14:34:59 PST
Shouldn’t this be “replaced content should paint with pixel snapping”?
Comment 2 Cameron McCormack (:heycam) 2021-12-14 14:41:32 PST
Yeah.  Subpixel layout is fine, but painting should be pixel aligned.
Comment 3 Radar WebKit Bug Importer 2021-12-21 13:57:41 PST
<rdar://problem/86783299>