W3C home > Mailing lists > Public > whatwg@whatwg.org > January 2007

[whatwg] contenteditable, <em> and <strong>

From: Simon Pieters <zcorpan@hotmail.com>
Date: Mon, 08 Jan 2007 18:21:34 +0000
Message-ID: <BAY109-F18FE8D02A73B2F417A0FE6B4BC0@phx.gbl>

The contenteditable spec says:

   Insert, and wrap text in, semantic elements

      UAs should offer a way for the user to mark text as
      having stress emphasis and as being important, and
      may offer the user the ability to mark text and blocks
      with other semantics.

I think it is no surprise that most UAs will implement this as emitting <em> 
for CTRL+I and <stong> for CTRL+B, or similar interfaces that imply that the 
user actually requested italics or bold with (to the UA) unknown intended 
semantics. (IE and Opera emit <em> and <strong>, Safari emits <SPAN 
class="Apple-style-span" style="font-weight: bold;">.) I think <i> and <b> 
should be emitted instead, and the above text should reflect that.

Simon Pieters

Fynda charter till solen http://www.msn.se/resor/
Received on Monday, 8 January 2007 10:21:34 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:51 UTC