Bug 227808

Summary: transformContextForPainting() doesn't clip to the source rect
Product: WebKit Reporter: Myles C. Maxfield <mmaxfield>
Component: PDFAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description Myles C. Maxfield 2021-07-08 12:07:24 PDT
When we draw PDFs, we just pass in the context and no other arguments to an opaque "draw the PDF" function. So, if we only want a portion of the PDF drawn, we have to mask the context first.
Comment 1 Radar WebKit Bug Importer 2021-07-15 12:08:16 PDT
<rdar://problem/80644724>