[whatwg] Ongoing work on an editing commands (execCommand()) specification
Ehsan Akhgari
ehsan at mozilla.com
Tue Mar 22 13:14:18 PDT 2011
> 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/
More information about the whatwg
mailing list