W3C home > Mailing lists > Public > public-webapi@w3.org > March 2008

Re: SVGt1.2: Text Box

From: Erik Dahlström <ed@opera.com>
Date: Mon, 17 Mar 2008 12:53:16 +0100
To: ~:'' ありがとうございました。 <j.chetwynd@btinternet.com>, "www-svg List" <www-svg@w3.org>
Cc: "Jim Ley" <jim@jibbering.com>, "Charles McCathieNevile" <chaals@opera.com>, public-webapi@w3.org, svg-developers@yahoogroups.com
Message-ID: <op.t75sm2nkdhsuf5@gnorps.palace.opera.no>

Hi Jonathan,

On Mon, 17 Mar 2008 12:08:40 +0100, ~:'' ありがとうございました。  
<j.chetwynd@btinternet.com> wrote:

> 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 is a way to get text editing capabilities without using  
scripting[1]: just add an 'editable' attribute with the value 'simple' to  
any <text> or <textArea> element.

Or, if you wish to see a complete example, it's in the SVGT12 spec  
itself[2].

Cheers
/Erik

[1] http://www.w3.org/TR/SVGMobile12/text.html#text-edit
[2] http://www.w3.org/TR/SVGMobile12/examples/textArea02.svg

-- 
Erik Dahlstrom, Core Technology Developer, Opera Software
Co-Chair, W3C SVG Working Group
Personal blog: http://my.opera.com/macdev_ed
Received on Monday, 17 March 2008 12:05:58 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 17 March 2008 12:05:59 GMT