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: dino, graouts, sabouhallawa, webkit-bug-importer, zimmermann
Priority: P2 Keywords: InRadar
Version: WebKit Local Build   
Hardware: PC   
OS: Linux   
Attachments:
Description Flags
Animation comparison: blink vs webkit none

Description Justice Almanzar 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.
Comment 1 Radar WebKit Bug Importer 2023-08-27 20:31:15 PDT
<rdar://problem/114542874>