NOTE: The current preferred location for bug reports is the GitHub issue tracker.
Bug 548 - lastModified returns current time according to IE, not the epoch. Also, never foster parent <input type=hidden>, <style>, or <script>.
lastModified returns current time according to IE, not the epoch. Also, never...
Status: NEW
Product: Validator.nu
Classification: Unclassified
Component: HTML parser
HEAD
All All
: P2 normal
Assigned To: Nobody
http://svn.whatwg.org/webapps/source?...
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-05-27 14:28 CEST by Henri Sivonen
Modified: 2009-11-23 17:17 CET (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Henri Sivonen 2009-05-27 14:28:36 CEST
Index: source
===================================================================
--- source	(revision 2987)
+++ source	(revision 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&nbsp;hh:mm:ss</code>".</p>
-    <p>If the last modification date is not known, it is reported as
-    "<code title="">01/01/1970&nbsp;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&nbsp;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,12 +69754,9 @@
    <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>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>
+    <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>
 
    </dd>
 
@@ -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>