Bug 134896 - SVG with SMIL in <img> behaves very unpredictably vs when used in object tag
Summary: SVG with SMIL in <img> behaves very unpredictably vs when used in object tag
Status: RESOLVED CONFIGURATION CHANGED
Alias: None
Product: WebKit
Classification: Unclassified
Component: SVG (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-14 13:17 PDT by Arjun Mehta
Modified: 2022-07-15 16:58 PDT (History)
3 users (show)

See Also:


Attachments
Somewhat complicated SVG with SMIL relying on .end/.begin for display/animation (9.88 KB, image/svg+xml)
2014-07-14 13:17 PDT, Arjun Mehta
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Arjun Mehta 2014-07-14 13:17:30 PDT
Created attachment 234874 [details]
Somewhat complicated SVG with SMIL relying on .end/.begin for display/animation

For some SVG objects using SMIL animation/set, rendering is unpredictable when the SVG is loaded through the <img> tag.
The same issues disappear when loading the SVG through the <object> tag.

Try with the attached SVG file. It uses complicated, interdependent timings relying on .begin/.end.

<html>
<head>
	<title>SVG SMIL TEST</title>	
</head>
<body>
<p><object data="time/time_local_context.svg" type="image/svg+xml"></object></p>
<p><img src="time/time_local_context.svg"/></p>

</body>
</html>
Comment 1 Brent Fulgham 2022-07-15 16:58:09 PDT
Safari, Chrome, and Firefox all agree on rendering for this test case. I don't believe there is any remaining compatibility issue.