<?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>16275</bug_id>
          
          <creation_ts>2007-12-03 03:40:51 -0800</creation_ts>
          <short_desc>Support contenteditable on SVG</short_desc>
          <delta_ts>2026-04-01 06:35:32 -0700</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>523.x (Safari 3)</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>OS X 10.4</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc>http://jsfiddle.net/ZEAwB/</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>15836</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Eric Seidel (no email)">eric</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>a.neumann</cc>
    
    <cc>jedahu</cc>
    
    <cc>karlcow</cc>
    
    <cc>krit</cc>
    
    <cc>timur.mehrvarz</cc>
    
    <cc>zimmermann</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>63128</commentid>
    <comment_count>0</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2007-12-03 03:40:51 -0800</bug_when>
    <thetext>Support SVG 1.2 editable=&quot;simple&quot; attribute on &lt;text&gt;

This support is required by WICD 1.0:
http://www.w3.org/2004/CDF/TestSuite/WICD_CDR_WP1/test-event-mapping.xhtml</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>67841</commentid>
    <comment_count>1</comment_count>
    <who name="Andreas Neumann">a.neumann</who>
    <bug_when>2008-01-21 06:28:00 -0800</bug_when>
    <thetext>yes, this feature would be very useful for interactive SVG applications. This feature is currently being implemented in Opera 9.5. Editing SVG text with Javascript is complicated and requires a lot of scripting to ensure proper user experience.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>67866</commentid>
    <comment_count>2</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2008-01-21 12:36:40 -0800</bug_when>
    <thetext>We support editing already. :)  We just don&apos;t have a way to turn it on for SVG elements.  I wonder if adding the &quot;contenteditable&quot; attribute onto a &lt;text&gt; element would do the trick. :)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>67869</commentid>
    <comment_count>3</comment_count>
    <who name="Dave Hyatt">hyatt</who>
    <bug_when>2008-01-21 13:13:36 -0800</bug_when>
    <thetext>Editing is mapped into style (-webkit-user-modify), so you can map this SVG editable attribute into that and get editing behavior.

</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>67964</commentid>
    <comment_count>4</comment_count>
    <who name="Andreas Neumann">a.neumann</who>
    <bug_when>2008-01-22 12:06:07 -0800</bug_when>
    <thetext>do you mean that I can already do editable SVG text as a content-author? If so, could you post a very small example I can use to start with?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>67973</commentid>
    <comment_count>5</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2008-01-22 12:59:53 -0800</bug_when>
    <thetext>The editing code is all HTML specific.  Necessary pieces are on HTMLElement.  It&apos;s not possible to enable this as a content author (yet).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>383056</commentid>
    <comment_count>6</comment_count>
    <who name="Jeremy">jedahu</who>
    <bug_when>2011-04-11 00:27:12 -0700</bug_when>
    <thetext>Any update on this? Simple editing support would be fantastic.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>383135</commentid>
    <comment_count>7</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2011-04-11 06:20:00 -0700</bug_when>
    <thetext>http://www.w3.org/2004/CDF/TestSuite/WICD_CDR_WP1/test-event-mapping.xhtml doesn&apos;t seem to mention anything about editing anymore.  Maybe I included the wrong URL in this report?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>383179</commentid>
    <comment_count>8</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2011-04-11 08:30:48 -0700</bug_when>
    <thetext>http://www.w3.org/2004/CDF/TestSuite/WICD_CDR_WP1/test-DOM-L3-event-subset-c.xhtml is supposedly the correct test case.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>383180</commentid>
    <comment_count>9</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2011-04-11 08:31:57 -0700</bug_when>
    <thetext>http://www.w3.org/2004/CDF/TestSuite/WICD_CDR_WP1/test-DOM-L3-event-subset-c.svg
is the actual SVG with the editable=simple</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1008534</commentid>
    <comment_count>10</comment_count>
    <who name="Dirk Schulze">krit</who>
    <bug_when>2014-05-12 05:11:43 -0700</bug_when>
    <thetext>The contenteditable attribute is the way to make this possible. Sadly it just works when it is set on an HTML root element for SVG. We should support it in SVG natively.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2174081</commentid>
    <comment_count>11</comment_count>
    <who name="Karl Dubost">karlcow</who>
    <bug_when>2026-01-22 05:49:56 -0800</bug_when>
    <thetext>There is no contenteditable on the text element in SVG2.
https://svgwg.org/svg2-draft/

Should this be closed?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2175078</commentid>
    <comment_count>12</comment_count>
    <who name="Nikolas Zimmermann">zimmermann</who>
    <bug_when>2026-01-26 03:23:54 -0800</bug_when>
    <thetext>Do other browser support this? I think it was spec&apos;ed in SVG 1.2, in a simple form, but not in SVG2 (or dropped, cannot remember).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2195878</commentid>
    <comment_count>13</comment_count>
    <who name="Karl Dubost">karlcow</who>
    <bug_when>2026-04-01 06:35:32 -0700</bug_when>
    <thetext>I think we should close this as WONTFIX. And if it comes again, it should have a proper new bug.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>