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

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

From: Nicholas Shanks <contact@nickshanks.com>
Date: Wed, 10 Jan 2007 16:50:07 +0000
Message-ID: <5219D619-B9BC-4F38-9090-925FFBF34CC5@nickshanks.com>
Having come in to this conversation half way, I'd like to give my  
opinions. In the following 'default style' means in the UAs style  
declarations for all documents of the language.

There should be three emphasis elements:

<em>  Increases emphatic semantics by one level. *No* default  
rendering style for visual media, default rendering for other media  
not specified.

<i> Equivalent semantics to <em>. Default rendering style for visual  
media is a language-dependant alternative glyph set of the same font  
family and weight (e.g. italic/??????, oblique, ????).  
Default rendering style for other media not specified (at least the  
same as <em>).

<b> Equivalent semantics to <em>. Default rendering style for visual  
media is the same font family and glyph collection, but higher  
weight. Default rendering style for other media not specified (at  
least the same as <em>, perhaps louder for aural).

The <strong> element is deprecated, replaced by nested levels of <em>  
or it's visual-specific variants.

Thus where visual presentation is important, <i> and <b> can be used  
semantically (they are equivalent) and <em> ignored. Where visual  
presentation is not important, <em> can be used without concern for  
what <i> should sound like.
The basic point is that <em> has no default rendering style,  
discouraging it's misuse for "i want italic text and people tell me  
<i> is bad these days, so i'll use <em>".

- Nicholas.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2157 bytes
Desc: not available
URL: <http://lists.whatwg.org/pipermail/whatwg-whatwg.org/attachments/20070110/20fc24ab/attachment.bin>
Received on Wednesday, 10 January 2007 08:50:07 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:31 UTC