Bug 260457

Summary: SMIL animation renders in content box rather than filter box?
Product: WebKit Reporter: Justice Almanzar <superdash993>
Component: SVGAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Minor CC: ahmad.saleem792, dino, graouts, sabouhallawa, webkit-bug-importer, zimmermann
Priority: P2 Keywords: BrowserCompat, InRadar
Version: WebKit Local Build   
Hardware: PC   
OS: Linux   
Attachments:
Description Flags
Animation comparison: blink vs webkit none

Justice Almanzar
Reported 2023-08-20 20:30:07 PDT
Created attachment 467355 [details] Animation comparison: blink vs webkit By "filter box" I mean the box of the svg filter (using x/y/width/height attributes) And by "content box" I mean the box of the element with the filter applied via CSS. Here's an example where I made the filter box around 2x in scale: https://svelte.dev/repl/17a5660515154699b0c65ae3d9383556?version=4.2.0 I suspect this will happen with any SMIL animation in a filter where the filter size exceeds the size of the content, but I haven't confirmed that so that should be tested if anyone is interested.
Attachments
Animation comparison: blink vs webkit (10.46 MB, video/mp4)
2023-08-20 20:30 PDT, Justice Almanzar
no flags
Radar WebKit Bug Importer
Comment 1 2023-08-27 20:31:15 PDT
Antoine Quint
Comment 2 2026-02-15 20:31:24 PST
Could we get a reproduction that doesn't require a framework?
Ahmad Saleem
Comment 3 2026-02-15 20:34:42 PST
(In reply to Antoine Quint from comment #2) > Could we get a reproduction that doesn't require a framework? https://jsfiddle.net/uf0v9hcm/
Note You need to log in before you can comment on or make changes to this bug.