[html5] r2988 - [cgiowt] (2) lastModified returns current time according to IE, not the epoch. A [...]

whatwg at whatwg.org whatwg at whatwg.org
Sat Apr 25 23:40:14 PDT 2009


Author: ianh
Date: 2009-04-25 23:40:13 -0700 (Sat, 25 Apr 2009)
New Revision: 2988

Modified:
   index
   source
Log:
[cgiowt] (2) lastModified returns current time according to IE, not the epoch. Also, never foster parent <input type=hidden>, <style>, or <script>.

Modified: index
===================================================================
--- index	2009-04-25 22:47:36 UTC (rev 2987)
+++ index	2009-04-26 06:40:13 UTC (rev 2988)
@@ -39,7 +39,7 @@
   <div class=head>
    <p><a class=logo href=http://www.whatwg.org/ rel=home><img alt=WHATWG src=/images/logo></a></p>
    <h1>HTML 5</h1>
-   <h2 class="no-num no-toc" id=draft-recommendation-—-date:-01-jan-1901>Draft Recommendation — 25 April 2009</h2>
+   <h2 class="no-num no-toc" id=draft-recommendation-—-date:-01-jan-1901>Draft Recommendation — 26 April 2009</h2>
    <p>You can take part in this work. <a href=http://www.whatwg.org/mailing-list>Join the working group's discussion list.</a></p>
    <p><strong>Web designers!</strong> We have a <a href=http://blog.whatwg.org/faq/>FAQ</a>, a <a href=http://forums.whatwg.org/>forum</a>, and a <a href=http://www.whatwg.org/mailing-list#help>help mailing list</a> for you!</p>
    <dl><dt>Multiple-page version:</dt>
@@ -7019,8 +7019,8 @@
    <dd>
     <p>Returns the date of the last modification to the document, as
     reported by the server, in the form "<code title="">MM/DD/YYYY hh:mm:ss</code>".</p>
-    <p>If the last modification date is not known, it is reported as
-    "<code title="">01/01/1970 00:00:00</code>"
+    <p>If the last modification date is not known, the current time is
+    returned instead.</p>
    </dd>
 
   </dl><div class=impl>
@@ -7062,9 +7062,9 @@
   <p>The <code>Document</code>'s source file's last modification date
   and time must be derived from relevant features of the networking
   protocols used, e.g. from the value of the HTTP <code title="">Last-Modified</code> header of the document, or from
-  metadata in the file system for local files. If the last modification
-  date and time are not known, the attribute must return the string
-  "<code title="">01/01/1970 00:00:00</code>".</p>
+  metadata in the file system for local files. If the last
+  modification date and time are not known, the attribute must return
+  the current date and time in the above format.</p>
 
   <hr></div>
 
@@ -57096,13 +57096,9 @@
    <dt>A start tag whose tag name is one of: "style", "script"</dt>
    <dd>
 
-    <p>If the <a href=#current-table>current table</a> is <a href=#tainted>tainted</a> then
-    act as described in the "anything else" entry below.</p>
+    <p>Process the token <a href=#using-the-rules-for>using the rules for</a> the "<a href=#parsing-main-inhead title="insertion mode: in head">in head</a>" <a href=#insertion-mode>insertion
+    mode</a>.</p>
 
-    <p>Otherwise, process the token <a href=#using-the-rules-for>using the rules for</a>
-    the "<a href=#parsing-main-inhead title="insertion mode: in head">in
-    head</a>" <a href=#insertion-mode>insertion mode</a>.</p>
-
    </dd>
 
    <dt>A start tag whose tag name is "input"</dt>
@@ -57110,8 +57106,7 @@
 
     <p>If the token does not have an attribute with the name "type",
     or if it does, but that attribute's value is not an <a href=#ascii-case-insensitive>ASCII
-    case-insensitive</a> match for the string "<code title="">hidden</code>", or, if the <a href=#current-table>current table</a> is
-    <a href=#tainted>tainted</a>, then: act as described in the "anything
+    case-insensitive</a> match for the string "<code title="">hidden</code>", then: act as described in the "anything
     else" entry below.</p>
 
     <p>Otherwise:</p>

Modified: source
===================================================================
--- source	2009-04-25 22:47:36 UTC (rev 2987)
+++ source	2009-04-26 06:40:13 UTC (rev 2988)
@@ -7128,8 +7128,8 @@
     <p>Returns the date of the last modification to the document, as
     reported by the server, in the form "<code
     title="">MM/DD/YYYY hh:mm:ss</code>".</p>
-    <p>If the last modification date is not known, it is reported as
-    "<code title="">01/01/1970 00:00:00</code>"
+    <p>If the last modification date is not known, the current time is
+    returned instead.</p>
    </dd>
 
   </dl>
@@ -7179,9 +7179,9 @@
   and time must be derived from relevant features of the networking
   protocols used, e.g. from the value of the HTTP <code
   title="">Last-Modified</code> header of the document, or from
-  metadata in the file system for local files. If the last modification
-  date and time are not known, the attribute must return the string
-  "<code title="">01/01/1970 00:00:00</code>".</p>
+  metadata in the file system for local files. If the last
+  modification date and time are not known, the attribute must return
+  the current date and time in the above format.</p>
 
   <hr>
 
@@ -69754,13 +69754,10 @@
    <dt>A start tag whose tag name is one of: "style", "script"</dt>
    <dd>
 
-    <p>If the <span>current table</span> is <span>tainted</span> then
-    act as described in the "anything else" entry below.</p>
+    <p>Process the token <span>using the rules for</span> the "<span
+    title="insertion mode: in head">in head</span>" <span>insertion
+    mode</span>.</p>
 
-    <p>Otherwise, process the token <span>using the rules for</span>
-    the "<span title="insertion mode: in head">in
-    head</span>" <span>insertion mode</span>.</p>
-
    </dd>
 
    <dt>A start tag whose tag name is "input"</dt>
@@ -69769,8 +69766,7 @@
     <p>If the token does not have an attribute with the name "type",
     or if it does, but that attribute's value is not an <span>ASCII
     case-insensitive</span> match for the string "<code
-    title="">hidden</code>", or, if the <span>current table</span> is
-    <span>tainted</span>, then: act as described in the "anything
+    title="">hidden</code>", then: act as described in the "anything
     else" entry below.</p>
 
     <p>Otherwise:</p>




More information about the Commit-Watchers mailing list