W3C home > Mailing lists > Public > whatwg@whatwg.org > March 2011

[whatwg] Ongoing work on an editing commands (execCommand()) specification

From: Ehsan Akhgari <ehsan@mozilla.com>
Date: Tue, 22 Mar 2011 13:14:18 -0700 (PDT)
Message-ID: <1302642613.24170.1300824858944.JavaMail.root@cm-mail03.mozilla.org>
> One thing we might want to consider is to merge elements when forcing
> style or pushing down style. For example, if we had "<b>hello
> </b>world" and bolded "world", I'd expect to get "<b>hello world</b>"
> instead of "<b>hello </b><b>world</b>". While it's not that much of an
> improvement in this very simple case, the effect is obvious when the
> applied on more complicated markup.

This makes quite a bit of sense.

Ehsan Akhgari
ehsan at mozilla.com
Received on Tuesday, 22 March 2011 13:14:18 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:31 UTC