I heard that currently "italic" and "bold" generic something along the lines of: <span style="font-style:italic"> ... </span> that's not really useful. Given that this is mostly used by WYSIWYG editors generating <em> and <strong> isn't particularly useful either (that's what IE does at the moment).
(In reply to comment #0) > I heard that currently "italic" and "bold" generic something along the lines > of: > > <span style="font-style:italic"> ... </span> > > that's not really useful. Given that this is mostly used by WYSIWYG editors > generating <em> and <strong> isn't particularly useful either (that's what IE > does at the moment). > Consider implementing document.execCommand("styleWithCSS", false, bool) as in Gecko. When bool is false, formatting commands should use tags instead of styled spans. Use B,I no STRONG,EM.
OK, Use STRONG,EM not B,I .
Created attachment 14175 [details] test case Anne, this seems to work as expected in a current nightly: <i><b>Test</b></i> I do not know if this has changed, or was always so.
I've also tried r18386 (from December 2006), and it also added <b> and <i>. Closing as INVALID. Going to file a separate bug for styleWithCSS.