<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>260677</bug_id>
          
          <creation_ts>2023-08-24 15:20:58 -0700</creation_ts>
          <short_desc>Remove &apos;SVGViewSpec&apos; interface</short_desc>
          <delta_ts>2026-02-26 02:19:01 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>SVG</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=270089</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ahmad Saleem">ahmad.saleem792</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>karlcow</cc>
    
    <cc>sabouhallawa</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>zimmermann</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1973368</commentid>
    <comment_count>0</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2023-08-24 15:20:58 -0700</bug_when>
    <thetext>Hi Team,

This was removed from Blink and also not in SVG2 spec.

Blink Commit: https://chromium.googlesource.com/chromium/src.git/+/b5891de613454cbb79dbcce852396649bf8c5342

GitHub Spec Commit: https://github.com/w3c/svgwg/commit/4c26fd36937a65192024208d85c144a21071b057

More Spec Context: https://www.w3.org/2015/06/11-svg-minutes.html#item02

&quot;RESOLUTION: remove currentView and useCurrentView properties on SVGSVGElement and remove SVGViewSpec interface&quot;

For first part, we already have bug 226721.

Just raising so we can track this as well to better align with SVG2 spec.

Thanks!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1974841</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2023-08-31 15:21:19 -0700</bug_when>
    <thetext>&lt;rdar://problem/114791247&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2185165</commentid>
    <comment_count>2</comment_count>
    <who name="Karl Dubost">karlcow</who>
    <bug_when>2026-02-26 02:19:01 -0800</bug_when>
    <thetext>Rob in Bug 270089 mentions about supporting it.

But SVGViewSpec is also not defined in Firefox
https://searchfox.org/firefox-main/search?q=svgviewspec&amp;path=&amp;case=false&amp;regexp=false

It&apos;s not in Chrome as @Ahmad is mentioning above. 

It should be removed from WebKit too. 
Referenced in
https://searchfox.org/wubkat/source/Source/WebCore/svg/SVGViewSpec.idl
https://searchfox.org/wubkat/source/Source/WebCore/svg/SVGViewSpec.cpp
https://searchfox.org/wubkat/source/Source/WebCore/svg/SVGViewSpec.h
https://searchfox.org/wubkat/source/Source/WebCore/bindings/js/JSSVGViewSpecCustom.cpp


There is a stalled issue on 
https://github.com/w3c/svgwg/issues/747

Gecko has a piece of code
https://searchfox.org/firefox-main/rev/3c52c9c886f7b0423001cef86abfafcf97f2b90a/dom/svg/SVGFragmentIdentifier.cpp#219-220
```cpp
if (ProcessSVGViewSpec(aAnchorName, rootElement)) {
  return true;
```

which is referencing 
https://searchfox.org/firefox-main/rev/3c52c9c886f7b0423001cef86abfafcf97f2b90a/dom/svg/SVGFragmentIdentifier.cpp#116-155


Also 
https://searchfox.org/wubkat/search?q=symbol:T_WebCore%3A%3ASVGViewSpec&amp;redirect=false</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>