Re: [svgwg] Remove SVGElementInstance (correspondingElement / correspondingUseElement) (#1070)

on WebKit 

https://searchfox.org/wubkat/rev/0dbabc018f3f222e0b93def93bccb3342f707ff6/Source/WebCore/svg/SVGElement.cpp#326-334
```cpp
SVGUseElement* SVGElement::correspondingUseElement() const
{
    SUPPRESS_UNCOUNTED_LOCAL auto* root = containingShadowRoot();
    if (!root)
        return nullptr;
    if (root->mode() != ShadowRootMode::UserAgent)
        return nullptr;
    return dynamicDowncast<SVGUseElement>(root->host());
}
```


on Gecko, not implemented.
https://searchfox.org/firefox-main/search?q=correspondingUseElement&path=svg&case=false&regexp=false

On Chromium, not implemented
https://source.chromium.org/search?q=correspondingUseElement&ss=chromium



-- 
GitHub Notification of comment by karlcow
Please view or discuss this issue at https://github.com/w3c/svgwg/issues/1070#issuecomment-4080201301 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Wednesday, 18 March 2026 07:03:57 UTC