[html5] r2819 - [] (0) DOMTimeStamp betrayed us. Switch it to Date. Hopefully WebIDL or Web DOM [...]

whatwg at whatwg.org whatwg at whatwg.org
Fri Feb 13 11:54:01 PST 2009


Author: ianh
Date: 2009-02-13 11:54:00 -0800 (Fri, 13 Feb 2009)
New Revision: 2819

Modified:
   index
   source
Log:
[] (0) DOMTimeStamp betrayed us. Switch it to Date. Hopefully WebIDL or Web DOM Core will define what that means for non-JS languages...

Modified: index
===================================================================
--- index	2009-02-13 19:49:56 UTC (rev 2818)
+++ index	2009-02-13 19:54:00 UTC (rev 2819)
@@ -2000,9 +2000,6 @@
   and just have the section be a general "defined in other
   specifications" section -->
 
-  <p>The interface <dfn id=domtimestamp><code>DOMTimeStamp</code></dfn> is defined in
-  DOM3 Core. <a href=#refsDOM3CORE>[DOM3CORE]</a></p>
-
   <p id=alternate-style-sheets>The rules for handling alternative
   style sheets are defined in the CSS object model specification. <a href=#refsCSSOM>[CSSOM]</a></p>
 
@@ -6093,9 +6090,9 @@
 
    <dd><p>Return a newly constructed String object with the same value as <var title="">input</var>.</dd>
 
-   <dt>If <var title="">input</var> is a Date object</dt>
+   <dt>If <var title="">input</var> is a <code>Date</code> object</dt>
 
-   <dd><p>Return a newly constructed Date object with the same value as <var title="">input</var>.</dd>
+   <dd><p>Return a newly constructed <code>Date</code> object with the same value as <var title="">input</var>.</dd>
 
    <dt>If <var title="">input</var> is a host object</dt>
 
@@ -13485,9 +13482,9 @@
    <dd>
 <pre class=idl>interface <dfn id=htmltimeelement>HTMLTimeElement</dfn> : <a href=#htmlelement>HTMLElement</a> {
            attribute DOMString <a href=#dom-time-datetime title=dom-time-datetime>dateTime</a>;
-  readonly attribute <a href=#domtimestamp>DOMTimeStamp</a> <a href=#dom-time-date title=dom-time-date>date</a>;
-  readonly attribute <a href=#domtimestamp>DOMTimeStamp</a> <a href=#dom-time-time title=dom-time-time>time</a>;
-  readonly attribute <a href=#domtimestamp>DOMTimeStamp</a> <a href=#dom-time-timezone title=dom-time-timezone>timezone</a>;
+  readonly attribute <span>Date</span> <a href=#dom-time-date title=dom-time-date>date</a>;
+  readonly attribute <span>Date</span> <a href=#dom-time-time title=dom-time-time>time</a>;
+  readonly attribute <span>Date</span> <a href=#dom-time-timezone title=dom-time-timezone>timezone</a>;
 };</pre>
    </dd>
   </dl><p>The <code><a href=#the-time-element>time</a></code> element <a href=#represents>represents</a> a precise
@@ -24733,7 +24730,7 @@
            attribute DOMString <a href=#dom-input-type title=dom-input-type>type</a>;
            attribute DOMString <a href=#dom-input-defaultvalue title=dom-input-defaultValue>defaultValue</a>;
            attribute DOMString <a href=#dom-input-value title=dom-input-value>value</a>;
-           attribute DOMTimeStamp <a href=#dom-input-valueasdate title=dom-input-valueAsDate>valueAsDate</a>;
+           attribute <span>Date</span> <a href=#dom-input-valueasdate title=dom-input-valueAsDate>valueAsDate</a>;
            attribute float <a href=#dom-input-valueasnumber title=dom-input-valueAsNumber>valueAsNumber</a>;
   readonly attribute <a href=#htmloptionelement>HTMLOptionElement</a> <a href=#dom-input-selectedoption title=dom-input-selectedOption>selectedOption</a>;
            attribute DOMString <a href=#dom-dim-width title=dom-dim-width>width</a>;

Modified: source
===================================================================
--- source	2009-02-13 19:49:56 UTC (rev 2818)
+++ source	2009-02-13 19:54:00 UTC (rev 2819)
@@ -969,9 +969,6 @@
   and just have the section be a general "defined in other
   specifications" section -->
 
-  <p>The interface <dfn><code>DOMTimeStamp</code></dfn> is defined in
-  DOM3 Core. <a href="#refsDOM3CORE">[DOM3CORE]</a></p>
-
   <p id="alternate-style-sheets">The rules for handling alternative
   style sheets are defined in the CSS object model specification. <a
   href="#refsCSSOM">[CSSOM]</a></p>
@@ -6047,9 +6044,9 @@
 
    <dd><p>Return a newly constructed String object with the same value as <var title="">input</var>.</p></dd>
 
-   <dt>If <var title="">input</var> is a Date object</dt>
+   <dt>If <var title="">input</var> is a <code>Date</code> object</dt>
 
-   <dd><p>Return a newly constructed Date object with the same value as <var title="">input</var>.</p></dd>
+   <dd><p>Return a newly constructed <code>Date</code> object with the same value as <var title="">input</var>.</p></dd>
 
    <dt>If <var title="">input</var> is a host object</dt>
 
@@ -14323,9 +14320,9 @@
    <dd>
 <pre class="idl">interface <dfn>HTMLTimeElement</dfn> : <span>HTMLElement</span> {
            attribute DOMString <span title="dom-time-datetime">dateTime</span>;
-  readonly attribute <span>DOMTimeStamp</span> <span title="dom-time-date">date</span>;
-  readonly attribute <span>DOMTimeStamp</span> <span title="dom-time-time">time</span>;
-  readonly attribute <span>DOMTimeStamp</span> <span title="dom-time-timezone">timezone</span>;
+  readonly attribute <span>Date</span> <span title="dom-time-date">date</span>;
+  readonly attribute <span>Date</span> <span title="dom-time-time">time</span>;
+  readonly attribute <span>Date</span> <span title="dom-time-timezone">timezone</span>;
 };</pre>
    </dd>
   </dl>
@@ -27472,7 +27469,7 @@
            attribute DOMString <span title="dom-input-type">type</span>;
            attribute DOMString <span title="dom-input-defaultValue">defaultValue</span>;
            attribute DOMString <span title="dom-input-value">value</span>;
-           attribute DOMTimeStamp <span title="dom-input-valueAsDate">valueAsDate</span>;
+           attribute <span>Date</span> <span title="dom-input-valueAsDate">valueAsDate</span>;
            attribute float <span title="dom-input-valueAsNumber">valueAsNumber</span>;
   readonly attribute <span>HTMLOptionElement</span> <span title="dom-input-selectedOption">selectedOption</span>;
            attribute DOMString <span title="dom-dim-width">width</span>;




More information about the Commit-Watchers mailing list