[html5] r1522 - /

whatwg at whatwg.org whatwg at whatwg.org
Mon May 5 21:08:03 PDT 2008


Author: ianh
Date: 2008-05-05 21:08:02 -0700 (Mon, 05 May 2008)
New Revision: 1522

Modified:
   index
   source
Log:
[] (0) Allow <time> in <dt> in <dialog>.

Modified: index
===================================================================
--- index	2008-05-06 03:24:34 UTC (rev 1521)
+++ index	2008-05-06 04:08:02 UTC (rev 1522)
@@ -10424,6 +10424,29 @@
    that its contents are a term being defined, but this can be indicated
    using the <code><a href="#dfn">dfn</a></code> element.
 
+  <p>If the <code><a href="#dt">dt</a></code> element is the child of a
+   <code><a href="#dialog">dialog</a></code> element, and it further contains
+   a <code><a href="#time">time</a></code> element, then that <code><a
+   href="#time">time</a></code> element represents a timestamp for when the
+   associated discourse (<code><a href="#dd">dd</a></code> element) was said,
+   and is not part of the name of the talker.
+
+  <div class=example>
+   <p>The following extract shows how an IM conversation log could be marked
+    up.</p>
+
+   <pre><dialog>
+ <dt> <time>14:22</time> egof
+ <dd> I'm not that nerdy, I've only seen 30% of the star trek episodes
+ <dt> <time>14:23</time> kaj
+ <dd> if you know what percentage of the star trek episodes you have seen, you are inarguably nerdy
+ <dt> <time>14:23</time> egof
+ <dd> it's unarguably
+ <dt> <time>14:24</time> kaj
+ <dd> you are not helping your case
+</dialog></pre>
+   <!-- with thanks to http://bash.org/?854262 --></div>
+
   <h4 id=the-dd><span class=secno>3.9.12 </span>The <dfn
    id=dd><code>dd</code></dfn> element</h4>
 

Modified: source
===================================================================
--- source	2008-05-06 03:24:34 UTC (rev 1521)
+++ source	2008-05-06 04:08:02 UTC (rev 1522)
@@ -8604,7 +8604,33 @@
   term being defined, but this can be indicated using the
   <code>dfn</code> element.</p>
 
+  <p>If the <code>dt</code> element is the child of a
+  <code>dialog</code> element, and it further contains a
+  <code>time</code> element, then that <code>time</code> element
+  represents a timestamp for when the associated discourse
+  (<code>dd</code> element) was said, and is not part of the name of
+  the talker.</p>
 
+  <div class="example">
+
+   <p>The following extract shows how an IM conversation log could be
+   marked up.</p>
+
+   <pre><dialog>
+ <dt> <time>14:22</time> egof
+ <dd> I'm not that nerdy, I've only seen 30% of the star trek episodes
+ <dt> <time>14:23</time> kaj
+ <dd> if you know what percentage of the star trek episodes you have seen, you are inarguably nerdy
+ <dt> <time>14:23</time> egof
+ <dd> it's unarguably
+ <dt> <time>14:24</time> kaj
+ <dd> you are not helping your case
+</dialog></pre>
+   <!-- with thanks to http://bash.org/?854262 -->
+
+  </div>
+
+
   <h4>The <dfn><code>dd</code></dfn> element</h4>
 
   <dl class="element">




More information about the Commit-Watchers mailing list