Bug 254078 - ResizeObserver not firing when observing an SVG element
Summary: ResizeObserver not firing when observing an SVG element
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: SVG (show other bugs)
Version: Safari 16
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-03-17 08:17 PDT by webkit-bugzilla.mailcourier
Modified: 2023-03-27 07:04 PDT (History)
5 users (show)

See Also:


Attachments

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