W3C home > Mailing lists > Public > www-svg@w3.org > November 2004

Re: SVG 1.2 questions: editable text

From: Robin Berjon <robin.berjon@expway.fr>
Date: Tue, 02 Nov 2004 12:51:02 +0100
Message-ID: <418774A6.4070409@expway.fr>
To: Andreas Neumann <neumann@karto.baug.ethz.ch>
Cc: www-svg@w3.org

Andreas Neumann wrote:
> * should there also be an attribute indicating whether a text is 
> "selectable" (true|false)?

As Doug said, it's in there (and yes it's very useful, please tell us if 
it meets your needs).

> * should there be a way to set boundaries an how many characters the 
> child of a text-element (or tspan) can contain? Esp. if the user pastes 
> text from the clipboard. Imagine you have a textfield where you want to 
> limit the number of characters the user can enter or paste, say to 50 
> characters. Potentially, the user could paste pages of text, which could 
> lead to undesirable results.

The design goal behind editable text is that it should give users what 
they need to go ahead and implement their own more advanced stuff while 
minimizing scripting complexity. I agree that what you propose isn't all 
that "advanced" but it can be painlessly handled in script with the 
current framework and therefore wouldn't make the cut.

-- 
Robin Berjon
Received on Tuesday, 2 November 2004 11:51:33 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 5 February 2014 07:14:52 UTC