W3C home > Mailing lists > Public > public-webapps@w3.org > April to June 2014

Re: Should minimal contentEditable default text input (was: contentEditable=minimal)

From: Anne van Kesteren <annevk@annevk.nl>
Date: Mon, 26 May 2014 10:25:21 +0200
Message-ID: <CADnb78ijYFsU3hQAJnhGpNgvwsO+PmLfFerLNLJ_yUkAwDv1rA@mail.gmail.com>
To: Yoshifumi Inoue <yosin@chromium.org>
Cc: Robin Berjon <robin@w3.org>, Piotr KoszuliƄski <p.koszulinski@cksource.com>, Jonas Sicking <jonas@sicking.cc>, Ben Peters <Ben.Peters@microsoft.com>, "public-webapps@w3.org" <public-webapps@w3.org>
On Mon, May 26, 2014 at 4:17 AM, Yoshifumi Inoue <yosin@chromium.org> wrote:
> Range.style is cool idea! I assume Range.detach() removes styles added
> Range.style.

detach() is a no-op. http://dom.spec.whatwg.org/#dom-range-detach


> To implement text composition with this, I would like to have "wave
> underline", "dotted underline", "thick underline" etc.

Range.prototype.style seems complex in the context of overlapping
ranges and such. Suddenly you're no longer applying CSS to a tree.


-- 
http://annevankesteren.nl/
Received on Monday, 26 May 2014 08:25:49 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 18:14:24 UTC