Bug 134896

Summary: SVG with SMIL in <img> behaves very unpredictably vs when used in object tag
Product: WebKit Reporter: Arjun Mehta <arjunmeht>
Component: SVGAssignee: Nobody <webkit-unassigned>
Status: RESOLVED CONFIGURATION CHANGED    
Severity: Normal CC: bfulgham, dino, zimmermann
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=211922
Attachments:
Description Flags
Somewhat complicated SVG with SMIL relying on .end/.begin for display/animation none

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.