| Summary: | SVG with SMIL in <img> behaves very unpredictably vs when used in object tag | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Arjun Mehta <arjunmeht> | ||||
| Component: | SVG | Assignee: | 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: |
|
||||||
Safari, Chrome, and Firefox all agree on rendering for this test case. I don't believe there is any remaining compatibility issue. |
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>