[Webkit-unassigned] [Bug 252903] New: [ResizeObserver] The contentRect of entries is 0x0 when observing a SVG element
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Feb 24 07:30:40 PST 2023
https://bugs.webkit.org/show_bug.cgi?id=252903
Bug ID: 252903
Summary: [ResizeObserver] The contentRect of entries is 0x0
when observing a SVG element
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: CSS
Assignee: webkit-unassigned at lists.webkit.org
Reporter: cathiechen at igalia.com
Created attachment 465152
--> https://bugs.webkit.org/attachment.cgi?id=465152&action=review
test-case
In ResizeObservation::computeObservedSizes(), it calls `downcast<SVGElement>(*m_target).getBoundingBox()` which returns 0x0 when the layout size of SVG is not empty.
See the attached test.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230224/f1fc76b7/attachment.htm>
More information about the webkit-unassigned
mailing list