Bug 270073

Summary: [UnifiedPDF] Selections are broken in rotated pages
Product: WebKit Reporter: Abrar Rahman Protyasha <a_protyasha>
Component: PDFAssignee: Abrar Rahman Protyasha <a_protyasha>
Status: RESOLVED FIXED    
Severity: Normal CC: a_protyasha, thorton, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Abrar Rahman Protyasha
Reported 2024-02-26 02:02:53 PST
The `-[PDFSelection drawForPage:withBox:active:inContext:]` API expects that the context to paint in has already been transformed for the display box to be presented in. This goes the behavior of `-[PDFPage drawWithBox:toContext:]`, which means our assumption was wrong. Let's fix that.
Attachments
Radar WebKit Bug Importer
Comment 1 2024-02-26 02:03:02 PST
Abrar Rahman Protyasha
Comment 2 2024-02-26 02:35:04 PST
EWS
Comment 3 2024-02-26 16:27:28 PST
Committed 275351@main (099c347a91fc): <https://commits.webkit.org/275351@main> Reviewed commits have been landed. Closing PR #25096 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.