HTML Standard Tracker

Filter

File a bug

SVNBugCommentTime (UTC)
2988[Conformance Checkers] [Gecko] [Internet Explorer] [Opera] [Webkit] [Tools] lastModified returns current time according to IE, not the epoch. Also, never foster parent <input type=hidden>, <style>, or <script>.2009-04-26 06:40
@@ -7121,22 +7121,22 @@ interface <dfn>HTMLDocument</dfn> {
 
   </div>
 
   <dl class="domintro">
 
    <dt><var title="">document</var> . <code title="dom-document-lastmodified">lastModified</code></dt>
    <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&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>
 
   <div class="impl">
 
   <p>The <dfn
   title="dom-document-lastModified"><code>lastModified</code></dfn>
   attribute, on getting, must return the date and time of the
   <code>Document</code>'s source file's last modification, in the
@@ -7172,23 +7172,23 @@ interface <dfn>HTMLDocument</dfn> {
   given as two digits in the range U+0030 DIGIT ZERO to U+0039 DIGIT
   NINE representing the number in base ten, zero-padded if
   necessary. The year must be given as four or more digits in the
   range U+0030 DIGIT ZERO to U+0039 DIGIT NINE representing the number
   in base ten, zero-padded if necessary.</p>
 
   <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&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>
 
   </div>
 
   <dl class="domintro">
 
    <dt><var title="">document</var> . <code title="dom-document-compatmode">compatMode</code></dt>
    <dd>
     <p>In a conforming document, returns the string "<code
@@ -69747,37 +69747,33 @@ interface <dfn>MessagePort</dfn> {
    <dt>An end tag whose tag name is one of: "body", "caption",
    "col", "colgroup", "html", "tbody", "td", "tfoot", "th",
    "thead", "tr"</dt>
    <dd>
     <p><span>Parse error</span>. Ignore the token.</p>
    </dd>
 
    <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>
 
    <dt>A start tag whose tag name is "input"</dt>
    <dd>
 
     <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>
 
     <p><span>Parse error</span>.</p>
 
     <p><span>Insert an HTML element</span> for the token.</p>
 
     <p>Pop that <code>input</code> element off the <span>stack of
     open elements</span>.</p>

|