Bug 265956 - SVG files with transforms can have the transformed elements disappear
Summary: SVG files with transforms can have the transformed elements disappear
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: SVG (show other bugs)
Version: Safari Technology Preview
Hardware: Mac (Apple Silicon) macOS 14
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-12-06 11:31 PST by Dave Verwer
Modified: 2023-12-06 14:06 PST (History)
5 users (show)

See Also:


Attachments
The two images referenced in the bug report. (977.45 KB, application/zip)
2023-12-06 11:31 PST, Dave Verwer
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dave Verwer 2023-12-06 11:31:18 PST
Created attachment 468912 [details]
The two images referenced in the bug report.

Steps to reproduce:

* Open Safari and close all of its windows
* From the Develop menu, run "Empty Caches" (Note: This is an important part of reproducing the bug consistently)
* Open a window and open https://daveverwer.github.io/WebKit-SVG-bug/
* Close the window, but don't quit Safari
* Open a window and open https://daveverwer.github.io/WebKit-SVG-bug/

Opening the page the first time shows the first.png, opening the page all subsequent times shows second.png.
Comment 1 Alexey Proskuryakov 2023-12-06 13:55:30 PST
I cannot reproduce this consistently as described on an M3 Mac with macOS 14.2 beta. But I do see both renderings intermittently when simply Cmd+clicking on the link here. 

What's particularly weird is that when I have two tabs with different renderings, reloading (with Cmd+R) never changes either of those! Which implies some kind of Web process state, not a timing or HTTP cache issue.
Comment 2 Simon Fraser (smfr) 2023-12-06 14:05:48 PST
"Empty caches" fixes this, so it's something about the images being cached.
Comment 3 Radar WebKit Bug Importer 2023-12-06 14:06:17 PST
<rdar://problem/119274687>