- From: Ryosuke Niwa <rniwa@apple.com>
- Date: Fri, 06 Jun 2014 09:59:38 -0700
- To: Anne van Kesteren <annevk@annevk.nl>
- 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>
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