W3C home > Mailing lists > Public > public-html@w3.org > April 2011

Re: Bug 11239

From: Robert O'Callahan <robert@ocallahan.org>
Date: Fri, 29 Apr 2011 15:12:23 +1200
Message-ID: <BANLkTin18abQwiDPkApS1LzC7ErhMrhQOg@mail.gmail.com>
To: "Tab Atkins Jr." <jackalmage@gmail.com>
Cc: Richard Schwerdtfeger <schwer@us.ibm.com>, public-html@w3.org, public-html-a11y@w3.org, public-canvas-api@w3.org, paulc@microsoft.com, Sam Ruby <rubys@intertwingly.net>, "Maciej Stachowiak (mjs@apple.com)" <mjs@apple.com>
On Fri, Apr 29, 2011 at 4:06 AM, Tab Atkins Jr. <jackalmage@gmail.com>wrote:

> > Mouse placement of the caret has to be reimplemented. + +
> > Keyboard movement of the caret has to be reimplemented (possibly across
> > lines, for multiline text input). + +
> > Scrolling of the text field has to be implemented (horizontally for long
> > lines, vertically for multiline input). + +
> > Native features such as copy-and-paste have to be reimplemented. + +
> > Native features such as spell-checking have to be reimplemented. + +
> > Native features such as drag-and-drop have to be reimplemented. + +
> > Native features specific to the user, for example custom text + services,
> > have to be reimplemented. This is close to impossible + since each user
> > might have different services installed, and there + is an unbounded set
> of
> > possible such services. + +
> > Bidirectional text editing has to be reimplemented. + +
> > Text selection has to be reimplemented. + +
> > Dragging of bidirectional text selections has to be reimplemented. + +
> > Platform-native keyboard shortcuts have to be reimplemented. + +
> > Platform-native input method editors (IMEs) have to be reimplemented. + +
> > Undo and redo functionality has to be reimplemented. + +
> > Accessibility features such as magnification following the + caret or
> > selection have to be reimplemented. + +
>

In addition,
-- "Text search" functionality commonly found in browsers doesn't work
-- For many use-cases, line wrapping would have to be reimplemented (very
hard to get right for all languages)

In the long run, writing a text editor with <canvas> is a dead end. The
Bespin project made a big investment in that approach and gave up --- and
they never even tried to tackle the hard problems of bidi, accessibility or
IMEs.

Rob
-- 
"Now the Bereans were of more noble character than the Thessalonians, for
they received the message with great eagerness and examined the Scriptures
every day to see if what Paul said was true." [Acts 17:11]
Received on Friday, 29 April 2011 03:12:51 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 9 May 2012 00:17:28 GMT