Support SVG 1.2 editable="simple" attribute on <text> This support is required by WICD 1.0: http://www.w3.org/2004/CDF/TestSuite/WICD_CDR_WP1/test-event-mapping.xhtml
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.
We support editing already. :) We just don't have a way to turn it on for SVG elements. I wonder if adding the "contenteditable" attribute onto a <text> element would do the trick. :)
Editing is mapped into style (-webkit-user-modify), so you can map this SVG editable attribute into that and get editing behavior.
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?
The editing code is all HTML specific. Necessary pieces are on HTMLElement. It's not possible to enable this as a content author (yet).
Any update on this? Simple editing support would be fantastic.
http://www.w3.org/2004/CDF/TestSuite/WICD_CDR_WP1/test-event-mapping.xhtml doesn't seem to mention anything about editing anymore. Maybe I included the wrong URL in this report?
http://www.w3.org/2004/CDF/TestSuite/WICD_CDR_WP1/test-DOM-L3-event-subset-c.xhtml is supposedly the correct test case.
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
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.