ladybird/Tests/LibWeb/Text/expected/SVG
sideshowbarker a38407d457 LibWeb: Unregister a “use” element from its document when finalized
Problem: Discarding a document that contains an SVG “use” element could
abort the process with a !is_in_list() verification failure in the
IntrusiveListNode destructor. That surfaced intermittently in our style-
invalidation stress tests, depending on GC sweep order.

Cause: A “use” element connected to a document registers itself in the
document’s list of “use” elements and unregisters during its removal
steps. A GC’ed “use” element is swept without running those removal
steps — so it stays linked. When it’s destroyed before its document,
its list node is still linked — and the destructor aborts.

Fix: Override finalize() to unregister the “use” element before
destruction. The collector finalizes every dying cell before destroying
any of them. So, the node is always unlinked in time — the same approach
DocumentObserver and NavigationObserver already use.
2026-06-18 09:39:47 +02:00
..
a-element-prototype.txt LibWeb: Set the correct prototype for SVGAElement instances 2024-06-28 17:10:52 +02:00
getBBox-outermost-svg-element-crash.txt LibWeb+WebContent: Do not include DOM HTML in text test expectations 2024-10-03 07:07:28 -04:00
getBBox-pattern-crash.txt LibWeb: Make getBBox() throw error for non-rendered elements 2025-10-06 00:14:04 +02:00
gradient-with-reference-cycle.txt LibWeb+WebContent: Do not include DOM HTML in text test expectations 2024-10-03 07:07:28 -04:00
removeChild-on-ancestor-of-use-element.txt LibWeb: Don't treat SVG "use clone" removals as "use source" removals 2025-08-07 22:15:36 +02:00
script-element-dynamic-insertion.txt LibWeb/SVG: Process script element when its text content changes 2025-02-26 16:08:35 +01:00
svg-circle-detached.txt LibWeb: Don't crash when querying detached circle element properties 2024-03-23 20:56:26 +01:00
svg-className-attribute.txt LibWeb+WebContent: Do not include DOM HTML in text test expectations 2024-10-03 07:07:28 -04:00
svg-element-proto.txt Meta: Set constructor prototype in IDLGenerators 2024-11-26 12:44:05 +00:00
svg-feGaussianBlur-stdDeviation.txt LibWeb: Implement SVGAnimatedNumber 2025-07-11 11:25:59 +01:00
svg-foreignobject-abspos-outside-cb-sibling-characterdata.txt LibWeb: Fix SVG partial relayout skipping abspos sibling updates 2026-02-14 03:20:34 +01:00
svg-foreignobject-abspos-outside-cb-text-change.txt LibWeb: Fix partial relayout of abspos with containing block outside SVG 2026-02-13 17:47:49 +01:00
svg-foreignObject-abspos-preserved-during-partial-relayout.txt LibWeb: Make foreignObject establish a containing block for abspos 2026-02-17 15:59:59 +01:00
svg-foreignObject-abspos-size-change-during-partial-relayout.txt LibWeb: Make foreignObject establish a containing block for abspos 2026-02-17 15:59:59 +01:00
svg-getbbox-transform-with-no-inverse.txt LibWeb+WebContent: Do not include DOM HTML in text test expectations 2024-10-03 07:07:28 -04:00
svg-href-qualified-name.txt LibWeb+WebContent: Do not include DOM HTML in text test expectations 2024-10-03 07:07:28 -04:00
svg-href.txt LibWeb+WebContent: Do not include DOM HTML in text test expectations 2024-10-03 07:07:28 -04:00
svg-intrinsic-size-invalidation-in-flex.txt LibWeb: Stop intrinsic size cache invalidation at SVG root boundaries 2026-02-05 20:26:30 +01:00
svg-intrinsic-size-invalidation-in-grid.txt LibWeb: Stop intrinsic size cache invalidation at SVG root boundaries 2026-02-05 20:26:30 +01:00
svg-nested-in-g-with-transform-relayout.txt Tests: Add test for SVG relayout with ancestor graphics element 2026-02-09 03:02:49 +01:00
svg-ownerSVGElement-attribute.txt LibWeb+WebContent: Do not include DOM HTML in text test expectations 2024-10-03 07:07:28 -04:00
svg-partial-relayout-does-not-leak-ancestor-paintables.txt LibWeb: Skip outside-subtree paintable creation during partial relayout 2026-02-15 17:47:30 +01:00
svg-rect-animated-length.txt LibWeb: Implement SVGLength's read-only property 2025-08-27 11:50:27 +02:00
svg-script-element.txt LibWeb+WebContent: Do not include DOM HTML in text test expectations 2024-10-03 07:07:28 -04:00
svg-svg-getElementById.txt LibWeb: Make SVGSVGElement.getElementById() return Element? (nullable) 2025-01-21 02:06:33 +01:00
svg-viewBox-attribute.txt LibWeb+WebContent: Do not include DOM HTML in text test expectations 2024-10-03 07:07:28 -04:00
svg-viewbox-syntax.txt LibWeb/SVG: Parse comma-separated SVG viewBox 2025-08-30 15:49:11 +02:00
svg-viewbox-zero-height.txt LibWeb+WebContent: Do not include DOM HTML in text test expectations 2024-10-03 07:07:28 -04:00
use-element-does-not-reclone-on-load.txt LibWeb: Avoid redundant SVG use recloning 2026-05-31 15:49:58 +02:00
use-element-gc-in-discarded-document.txt LibWeb: Unregister a “use” element from its document when finalized 2026-06-18 09:39:47 +02:00
use-element-inserted-together-with-referenced-element.txt LibWeb: Track connected SVG use elements in a per-document list 2026-06-11 15:28:59 +02:00
use-element-moveBefore-registry.txt LibWeb: Track connected SVG use elements in a per-document list 2026-06-11 15:28:59 +02:00
use-element-shadow-tree-removal.txt LibWeb: Fix excessive recursion when removing SVG elements from use tree 2026-01-14 11:46:23 +01:00
use-shadowRoot-closed.txt LibWeb: SVG use element shadow roots should be closed, not open 2025-08-07 22:15:36 +02:00