Bug 227808 - transformContextForPainting() doesn't clip to the source rect
Summary: transformContextForPainting() doesn't clip to the source rect
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: PDF (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2021-07-08 12:07 PDT by Myles C. Maxfield
Modified: 2021-07-15 12:08 PDT (History)
1 user (show)

See Also:


Attachments

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