Re: SVGt1.2: Text Box

Hi Jonathan,

SVG 1.2 Tiny is an a state where we cannot easily introduce new features,
definitely not a feature as complex as GUI widgets.

With the editable text feature of SVG 1.2t it will, however, be a lot
easier to do text-input in SVG. Opera 9.5 beta already supports this
features. It may still contain bugs. You are invited to test this and
report bugs.

I fully agree though, that there is a need for easy to use GUI
elements/widgets in SVG. It would, however, be more suitable to make a
separate module for SVG 1.2 than trying to squeeze it into SVG 1.2T.

There is a SVG 1.1 compatible textbox available at
http://www.carto.net/papers/svg/gui/textbox/ with an example at
http://www.carto.net/papers/svg/gui/textbox/index.svg - it works ok in
Opera 9, Firefox 3, Batik and ASV, but still has issues in Webkit. Also,
it doesn't yet support the SVG 1.2 editable feature.

Additionally, you might consider the use of HTML widgets inside the
foreignObject. I don't know if this would work in your case, however.

Best wishes,
Andreas

> SVGt1.2: Text Box
>
> Would it be reasonable to expect SVG1.2t to provide a standard and
> easy to implement means for the user to enter text?
> cf: a form with textbox in html.
>
> There are concerns around accessibility and noScript that need to be
> considered.
>
> an interim implementation** is here:
>
> http://www.peepo.co.uk/temp/svgTextBox.svg
>
> Your comments and improvements are encouraged.
>
> regards
>
>
> Jonathan Chetwynd
>
> j.chetwynd@btinternet.com
> http://www.peepo.com/
>
> +44 (0) 20 7978 1764
>
>
> **
> Opera is the primary testing UA, title is used in place of label.
> Amaya does not support script
> Safari support for focusable may be broken, click on textbox to enter
> text
> Mozilla support for focusable may be broken, click on textbox to
> enter text
> Batik support for String.fromCharCode( e ) may be broken, workaround
> sought.
>
>


-- 
Andreas Neumann
Böschacherstrasse 6, CH-8624 Grüt/Gossau, Switzerland
Email: a.neumann@carto.net, Web:
* http://www.carto.net/ (Carto and SVG resources)
* http://www.carto.net/neumann/ (personal page)
* http://www.svgopen.org/ (SVG Open Conference)
* http://www.geofoto.ch/ (Georeferenced Photos of Switzerland)

Received on Monday, 17 March 2008 11:56:38 UTC