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

> 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
http://ehsanakhgari.org/

Received on Tuesday, 22 March 2011 13:14:18 UTC