- From: poot <cvsmail@w3.org>
- Date: Wed, 25 Aug 2010 08:05:48 +0900 (JST)
- To: public-html-diffs@w3.org
hixie: Allow times to be omitted from <ins datetime>/<del datetime>. (whatwg r5341) http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.4259&r2=1.4260&f=h http://html5.org/tools/web-apps-tracker?from=5340&to=5341 =================================================================== RCS file: /sources/public/html5/spec/Overview.html,v retrieving revision 1.4259 retrieving revision 1.4260 diff -u -d -r1.4259 -r1.4260 --- Overview.html 24 Aug 2010 22:44:18 -0000 1.4259 +++ Overview.html 24 Aug 2010 22:59:55 -0000 1.4260 @@ -17013,17 +17013,20 @@ element. User agents should allow users to follow such citation links.</span><p>The <dfn id="attr-mod-datetime" title="attr-mod-datetime"><code>datetime</code></dfn> attribute may be used to specify the time and date of the change.<p>If present, the <code title="attr-mod-datetime"><a href="#attr-mod-datetime">datetime</a></code> - attribute must be a <a href="#valid-global-date-and-time-string">valid global date and time string</a> - value.<div class="impl"> + attribute's value must be a <a href="#valid-date-string-with-optional-time">valid date string with optional + time</a>.<div class="impl"> <p>User agents must parse the <code title="attr-mod-datetime"><a href="#attr-mod-datetime">datetime</a></code> attribute according to the - <a href="#parse-a-global-date-and-time-string">parse a global date and time string</a> algorithm. If that - doesn't return a time, then the modification has no associated - timestamp (the value is non-conforming; it is not a <a href="#valid-global-date-and-time-string">valid - global date and time string</a>). Otherwise, the modification is - marked as having been made at the given datetime. User agents should - use the associated time-zone offset information to determine which - time zone to present the given datetime in.</p> + <a href="#parse-a-date-or-time-string">parse a date or time string</a> algorithm. If that doesn't + return a <a href="#concept-date" title="concept-date">date</a> or a <a href="#concept-datetime" title="concept-datetime">global date and time</a>, then the + modification has no associated timestamp (the value is + non-conforming; it is not a <a href="#valid-date-string-with-optional-time">valid date string with optional + time</a>). Otherwise, the modification is marked as having been + made at the given <a href="#concept-date" title="concept-date">date</a> or <a href="#concept-datetime" title="concept-datetime">global date and time</a>. If the given + value is a <a href="#concept-datetime" title="concept-datetime">global date and + time</a> then user agents should use the associated time-zone + offset information to determine which time zone to present the given + datetime in.</p> </div><p>The <code><a href="#the-ins-element">ins</a></code> and <code><a href="#the-del-element">del</a></code> elements <span class="impl">must</span> implement the <code><a href="#htmlmodelement">HTMLModElement</a></code> interface:<pre class="idl">interface <dfn id="htmlmodelement">HTMLModElement</dfn> : <a href="#htmlelement">HTMLElement</a> { @@ -66468,8 +66471,8 @@ <tr><th> <code title="">datetime</code> <td> <code title="attr-mod-datetime"><a href="#attr-mod-datetime">del</a></code>; <code title="attr-mod-datetime"><a href="#attr-mod-datetime">ins</a></code> - <td> Time and date of the change - <td> <a href="#valid-global-date-and-time-string">Valid global date and time string</a> + <td> Date and (optionally) time of the change + <td> <a href="#valid-date-string-with-optional-time">Valid date string with optional time</a> <tr><th> <code title="">datetime</code> <td> <code title="attr-time-datetime"><a href="#attr-time-datetime">time</a></code> <td> Value of the element
Received on Tuesday, 24 August 2010 23:00:43 UTC