Closed
Bug 307871
Opened 19 years ago
Closed 11 years ago
Text editing using editable="yes"
Categories
(Core :: SVG, enhancement)
Tracking
()
RESOLVED
WONTFIX
People
(Reporter: bz, Unassigned)
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b3) Gecko/20050712 Firefox/1.0+ Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b3) Gecko/20050712 Firefox/1.0+ There is no possibility for "text editing". Without text editing it is not possible to make XAML like WebApps. There are some methods to make text editable - but they all do not work: 1.) Tiny-SVG 1.2 editable="yes" problem: not implemented, maybe not realistic for FF 1.5 2.) HTML Form element in/on top of SVG problem: Emedding HTML in SVG not possible To have <xhtml:input type="text"/> in SVG would be great. 3.) Javascript solution (ASV 3.0 compatible) problem: "getCharNumAtPosition" is needed, but not implemented in dear park a2. Cursor positioning with pointer device is without this function not possible. The Cursor must be moved used keyboard to the correct position. ---- To have the editable text in an HTML area beside the SVG Image is not a solution. A good UI needs in-place editing. thanks Bernhard Reproducible: Always This is not a bug. I am responding to : http://weblogs.mozillazine.org/tor/archives/2005/09/firefox_15_and_svg.html
Comment 1•19 years ago
|
||
Method 2 is now available via foreignObject see bug 326966. getCharNumAtPosition was implemented in bug 318597 so Method 3 should work too. Perhaps we might therefore mark this bug as fixed now.
Comment 2•17 years ago
|
||
Changing summary to focus on editable="yes". As Robert says, foreignObject allows you to use <xhtml:input type="text"/> in SVG now, and getCharNumAtPosition was implemented in bug 318597.
Severity: major → enhancement
Status: UNCONFIRMED → NEW
Ever confirmed: true
Summary: Text editing → Text editing using editable="yes"
Comment 3•17 years ago
|
||
the title should actually read as "Text editing using editable="simple"" - note the "simple" instead of "yes". I agree it would be a very useful feature for Firefox 4. SVG fonts support is more important, though.
Updated•15 years ago
|
Assignee: general → nobody
QA Contact: ian → general
Comment 4•11 years ago
|
||
We should handle editable SVG text using contenteditable, as HTML uses. See bug 889234.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•