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

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

From: Ryosuke Niwa <rniwa@apple.com>
Date: Fri, 06 Jun 2014 09:59:38 -0700
Cc: Yoshifumi Inoue <yosin@chromium.org>, 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>
Message-id: <73B9B32D-6324-436F-9A3E-8A6BA82BF907@apple.com>
To: Anne van Kesteren <annevk@annevk.nl>
On May 26, 2014, at 1:25 AM, Anne van Kesteren <annevk@annevk.nl> wrote:
> On Mon, May 26, 2014 at 4:17 AM, Yoshifumi Inoue <yosin@chromium.org> wrote:
>> 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.

Yeah, especially if we allow text layout to be affected by this, e.g. bolding, font size.  That would require some fundamental changes to our engine (WebKit).

We can probably add the ability to style text without affecting layout though; e.g. background color, underline.

- R. Niwa
Received on Friday, 6 June 2014 17:00:28 UTC

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