Bug 260457 - SMIL animation renders in content box rather than filter box?
Summary: SMIL animation renders in content box rather than filter box?
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: SVG (show other bugs)
Version: WebKit Local Build
Hardware: PC Linux
: P2 Minor
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-08-20 20:30 PDT by Justice Almanzar
Modified: 2023-08-27 20:31 PDT (History)
5 users (show)

See Also:


Attachments
Animation comparison: blink vs webkit (10.46 MB, video/mp4)
2023-08-20 20:30 PDT, Justice Almanzar
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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>