<?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>268251</bug_id>
          
          <creation_ts>2024-01-28 06:18:48 -0800</creation_ts>
          <short_desc>Add support for SVGAElement&apos;s text attribute</short_desc>
          <delta_ts>2024-02-17 22:46:22 -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>RESOLVED</bug_status>
          <resolution>WONTFIX</resolution>
          
          <see_also>https://github.com/w3c/svgwg/issues/931</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar, WPTImpact</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>frances_c</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>2008271</commentid>
    <comment_count>0</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2024-01-28 06:18:48 -0800</bug_when>
    <thetext>Hi Team,

It is to add parity to HTMLAnchorElement and it is in web-spec:

https://svgwg.org/svg2-draft/linking.html#InterfaceSVGAElement


It seems easy to add and progress two WPT test cases in &apos;svg/idlharness.window.html&apos;.

I have local build with patch as well.

Just wanted to raise this so we can do this.

Thanks!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2008276</commentid>
    <comment_count>1</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2024-01-28 06:34:44 -0800</bug_when>
    <thetext>&gt;&gt; Source/WebCore/svg/SVGAElement.cpp:

String SVGAElement::text()
{
    return textContent();
}

void SVGAElement::setText(String&amp;&amp; text)
{
    setTextContent(WTFMove(text));
}

&gt;&gt; Source/WebCore/svg/SVGAElement.h: (In public)

WEBCORE_EXPORT String text();
void setText(String&amp;&amp;);

&gt;&gt; Source/WebCore/svg/SVGAElement.idl:

[CEReactions=Needed] attribute DOMString text;

__

That&apos;s it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2008277</commentid>
    <comment_count>2</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2024-01-28 06:35:58 -0800</bug_when>
    <thetext>@Frances - do you want to take this?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2008278</commentid>
    <comment_count>3</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2024-01-28 06:41:13 -0800</bug_when>
    <thetext>Might have to add:

&gt;&gt; Source/WebCore/svg/svgattrs.in:

&apos;text&apos; (without quotes) as well.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2008279</commentid>
    <comment_count>4</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2024-01-28 06:41:57 -0800</bug_when>
    <thetext>Might progress this as well:

https://wpt.fyi/results/svg/linking/scripted/a.text-setter-01.svg?label=master&amp;label=experimental&amp;aligned=&amp;q=svg%2Flinking%2F

and

https://wpt.fyi/results/svg/linking/scripted/a.text-getter-01.svg?label=experimental&amp;label=master&amp;aligned=&amp;q=svg%2Flinking%2F</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2008491</commentid>
    <comment_count>5</comment_count>
    <who name="Frances Cornwall">frances_c</who>
    <bug_when>2024-01-29 08:39:51 -0800</bug_when>
    <thetext>Yes, I will work on this today.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2008498</commentid>
    <comment_count>6</comment_count>
    <who name="Frances Cornwall">frances_c</who>
    <bug_when>2024-01-29 08:58:06 -0800</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/23424</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2009075</commentid>
    <comment_count>7</comment_count>
    <who name="Frances Cornwall">frances_c</who>
    <bug_when>2024-01-30 13:25:29 -0800</bug_when>
    <thetext>Relating to: https://bugs.webkit.org/show_bug.cgi?id=268407</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2010484</commentid>
    <comment_count>8</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2024-02-04 06:19:13 -0800</bug_when>
    <thetext>&lt;rdar://problem/122268835&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2014908</commentid>
    <comment_count>9</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2024-02-17 22:46:22 -0800</bug_when>
    <thetext>As mentioned - https://github.com/w3c/svgwg/issues/931 - Firefox is removing this.

So WONTFIX.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>