Bug 254078

Summary: ResizeObserver not firing when observing an SVG element
Product: WebKit Reporter: webkit-bugzilla.mailcourier
Component: SVGAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: cathiechen, sabouhallawa, simon.fraser, webkit-bug-importer, zimmermann
Priority: P2 Keywords: InRadar
Version: Safari 16   
Hardware: Unspecified   
OS: Unspecified   

Description webkit-bugzilla.mailcourier 2023-03-17 08:17:27 PDT
Hello,

I'm encountering an issue in Webkit / Safari with a ResizeObserver not firing if the observed element is an SVG element.
The tested browser is Safari desktop 16.3.

The same code was working fine on Chrome and Firefox.

Potentially related issue: https://bugs.webkit.org/show_bug.cgi?id=252903
Comment 1 Radar WebKit Bug Importer 2023-03-24 08:18:14 PDT
<rdar://problem/107187225>
Comment 2 Said Abou-Hallawa 2023-03-24 10:00:25 PDT
Thanks for reporting this bug. Can you please attach a reduced test case which does not work as expected in WebKit?
Comment 3 cathiechen 2023-03-27 07:04:41 PDT
(In reply to webkit-bugzilla.mailcourier from comment #0)
> Hello,
> 
> I'm encountering an issue in Webkit / Safari with a ResizeObserver not
> firing if the observed element is an SVG element.
> The tested browser is Safari desktop 16.3.
> 
> The same code was working fine on Chrome and Firefox.
> 
> Potentially related issue: https://bugs.webkit.org/show_bug.cgi?id=252903

The patch is landed now, could you confirm if it works in this one?