Bug 234313 - replaced content should paint with pixel snapping
Summary: replaced content should paint with pixel snapping
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: WebKit Local Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2021-12-14 13:56 PST by Cameron McCormack (:heycam)
Modified: 2021-12-21 13:57 PST (History)
4 users (show)

See Also:


Attachments
test (286 bytes, text/html)
2021-12-14 13:56 PST, Cameron McCormack (:heycam)
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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>