W3C home > Mailing lists > Public > public-html@w3.org > August 2010

Re: thoughts about a visible caret

From: Daniel Glazman <daniel.glazman@disruptive-innovations.com>
Date: Sun, 08 Aug 2010 11:46:01 +0200
Message-ID: <4C5E7CD9.4010705@disruptive-innovations.com>
To: Maciej Stachowiak <mjs@apple.com>
Cc: HTMLwg WG <public-html@w3.org>
Le 08/08/10 00:40, Maciej Stachowiak a écrit :

> Let me check if I understand your suggestion. Are you
> saying there should be a way to make non-editable text
> support display of a caret when it contains a caret
> selection? Should it also support caret navigation (when
> the user presses the arrow keys or clicks) or could that
> be left up to script?

Yes, and yes. I would like to have something similar to
-moz-user-select. It should not only support caret but also
selection.

Maybe a standardized version of user-select is enough but I
have the gut feeling this should be, similarly to contenteditable,
reflected into the markup for online editing.

> Are there operations besides execCommand that are a problem
> for interoperability?

The resulting markup of commands is the main problem. The way
it deals with list creation and handling of the CR key is
another main one. All in all, the result is almost unpredictable
across browsers.

</Daniel>
Received on Sunday, 8 August 2010 09:46:33 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 8 August 2010 09:46:34 GMT