Bugzilla – Bug 548
lastModified returns current time according to IE, not the epoch. Also, never foster parent <input type=hidden>, <style>, or <script>.
Last modified: 2009-11-23 17:17:28 CET
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 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,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>