WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
REOPENED
289187
REGRESSION (
288504@main
): If Remote Snapshotting is enabled and transformX is applied, text is flipped when exporting a PDF
https://bugs.webkit.org/show_bug.cgi?id=289187
Summary
REGRESSION (288504@main): If Remote Snapshotting is enabled and transformX is...
Brad Andalman
Reported
2025-03-05 12:45:18 PST
Created
attachment 474461
[details]
HTML that, when exported as PDF, will include flipped text Steps to repro: 1. Open the attached HTML in Safari Technology Preview (or in Safari in macOS 15.4b2) 2. Choose File > Export as PDF… 3. In the exported PDF, the "Lorem ipsum" text will be flipped. This appears to be due to the two `transform` CSS properties in the HTML. If there is only one, the bug does not appear. The actual value for the `translateX()` doesn't appear to matter: the text is flipped regardless of the value.
Attachments
HTML that, when exported as PDF, will include flipped text
(1017 bytes, text/html)
2025-03-05 20:45 PST
,
Brad Andalman
no flags
Details
PDF with flipped text (generated using Safari Technology Preview)
(15.84 KB, application/pdf)
2025-03-05 20:46 PST
,
Brad Andalman
no flags
Details
Screenshot of (correct) appearance in Safari
(298.55 KB, image/png)
2025-03-05 20:48 PST
,
Brad Andalman
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Brad Andalman
Comment 1
2025-03-05 12:46:47 PST
Created
attachment 474462
[details]
PDF with flipped text (generated using Safari Technology Preview)
Brad Andalman
Comment 2
2025-03-05 12:48:02 PST
Created
attachment 474463
[details]
Screenshot of (correct) appearance in Safari
Abrar Rahman Protyasha
Comment 3
2025-03-05 12:52:49 PST
Hello, thank you for the report! Which version of Safari Technology Preview are you seeing this on?
Brad Andalman
Comment 4
2025-03-05 13:06:16 PST
I've only tested it on the Safari Technology Preview (Release 214). Though it also appears in macOS 15.4 beta 2.
Radar WebKit Bug Importer
Comment 5
2025-03-05 16:52:35 PST
<
rdar://problem/146340218
>
Aditya Keerthi
Comment 6
2025-03-05 22:37:05 PST
This appears to be caused by
https://commits.webkit.org/288504@main
(enablement of Remote Snapshotting).
Said Abou-Hallawa
Comment 7
2025-03-06 13:35:32 PST
Pull request:
https://github.com/WebKit/WebKit/pull/42031
EWS
Comment 8
2025-03-06 14:40:29 PST
Committed
291733@main
(8467e81ce2ac): <
https://commits.webkit.org/291733@main
> Reviewed commits have been landed. Closing PR #42031 and removing active labels.
EWS
Comment 9
2025-03-12 13:19:14 PDT
Committed
289651.269@safari-7621-branch
(4156e0e19b40): <
https://commits.webkit.org/289651.269@safari-7621-branch
> Reviewed commits have been landed. Closing PR #2788 and removing active labels.
Brad Andalman
Comment 10
2025-04-02 17:41:12 PDT
This is broken in macOS 15.5 Beta (24F5042g) and Safari Technology Preview (215). Reopening.
Brad Andalman
Comment 11
2025-04-02 17:49:20 PDT
It looks like the above commit hasn't yet pulled into Safari Technology Preview 215, so the fix never made it there. However, the bug was fixed in Safari 18.4 but is once again broken in Safari Version 18.5 (20621.2.1.11.5)
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug