W3C home > Mailing lists > Public > whatwg@whatwg.org > August 2006

[whatwg] Lists, <ins>/<del>, and <a>

From: Ric Hardacre <ric@hardacre.org>
Date: Wed, 30 Aug 2006 08:56:27 +0100
Message-ID: <44F544AA.4050109@hardacre.org>

Michel Fortin wrote:
> Le 29 ao?t 2006 ? 23:00, Lachlan Hunt a ?crit :
>> Michel Fortin wrote:
>>> How can we markup removed or inserted list items? Here's a general idea:
>>>     <ul>
>>>     <ins><li>Some list item</li></ins>
>>>     <del><li>Another list item</li></del>
>>>     </ul>
>> This can be solved by putting the ins and del elements as the only
>> child nodes of the li elements instead.
>> <ul>
>>   <li><ins>Some list item</ins></li>
>>   <li><del>Another list item</del></li>
>> </ul>
> The meaning of your markup is that you inserted and deleted some text
> within each list item, not that you added or deleted a list item like in
> mine. Semantically there is a difference, subtle maybe but still there.

Another related thought we could discuss for revision control using ins
and del is that they could do with a couple of attributes, a datetime
and an author:

<p>On a dull and dreary afternoon <ins datetime="2006-27-08 12:34:56"
author="Ric Hardacre">I added this text while</ins> the rain poured down</p>

Ric Hardacre
Received on Wednesday, 30 August 2006 00:56:27 UTC

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