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

[whatwg] Tendious use cases for <dialog>

From: David Walbert <dwalbert@learnnc.org>
Date: Wed, 4 Apr 2007 08:54:08 -0400
Message-ID: <EFBE175D-2CC9-4080-8A92-43E160EA0A7F@learnnc.org>

On Mar 30, 2007, at 12:22 PM, Michel Fortin wrote:

>     <dialog>
>
>       <p><time>21:57</time></p>
>       <dt>caker</dt>
>       <dd>sweet</dd>
>
>       <p><time>21:57</time></p>
>       <dt>caker</dt>
>       <dd>it worked</dd>
>
>       <p><time>21:57</time></p>
>       <p class="action">caker closes out last bug</p>
>
>       <p><time>22:04</time></p>
>       <dt>encode</dt>
>       <dd>yay!</dd>
>
>     <dialog>

In this case it seems to me that the <p><time> combination is itself  
a header for the dt/dd pair that follows, but the <p> markup doesn't  
convey that. Some sort of specialized markup might be preferable  
here. I don't know how much demand for it there would be, though.  
(Less, I think, than for the ability to mark up an action in the  
middle of dialogue.) If the time doesn't have to be a separate block- 
level element, it could be marked up simply as

<dialog>
	<dt>caker (<time>21:57</time>)</dt>
	<dd>sweet</dd>
...


_____
David Walbert
LEARN NC, UNC-Chapel Hill
dwalbert at learnnc.org



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.whatwg.org/pipermail/whatwg-whatwg.org/attachments/20070404/3d5678db/attachment.htm>
Received on Wednesday, 4 April 2007 05:54:08 UTC

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