W3C home > Mailing lists > Public > public-html-diffs@w3.org > April 2009

lastModified returns current time according to IE, not the epoch. Also, never foster parent <input type=hidden>, <style>, or <script>. (whatwg r2988)

From: poot <cvsmail@w3.org>
Date: Sun, 26 Apr 2009 15:42:05 +0900 (JST)
To: public-html-diffs@w3.org
Message-Id: <20090426064205.590922BCDC@toro.w3.mag.keio.ac.jp>
lastModified returns current time according to IE, not the epoch. Also,
never foster parent <input type=hidden>, <style>, or <script>. (whatwg
r2988)

Status of this document
http://people.w3.org/mike/diffs/html5/spec/Overview.1.2152.html#status-of-this-document
A vocabulary and associated APIs for HTML and XHTML
http://people.w3.org/mike/diffs/html5/spec/Overview.1.2152.html#a-vocabulary-and-associated-apis-for-html-and-xhtml
lastModified
http://people.w3.org/mike/diffs/html5/spec/Overview.1.2152.html#dom-document-lastmodified
Editor's Draft 26 April 2009
http://people.w3.org/mike/diffs/html5/spec/Overview.1.2152.html#editor-s-draft-date-1-january-1970
On getting, if the document is not associated with a browsing context then the user agent must raise an INVALID_STATE_ERR exception. Otherwise, if the sandboxed origin browsing context flag was set on the browsing context of the Document when the Document was created, the user agent must raise a SECURITY_ERR exception. Otherwise, if the document's address does not use a server-based naming authority, it must return the empty string. Otherwise, it must first obtain the storage mutex and then return the same string as the value of the Cookie HTTP header it would include if fetching the resource indicated by the document's address over HTTP, as per RFC 2109 section 4.3.4 or later specifications, excluding HTTP-only cookies. [RFC2109] [RFC2965]
http://people.w3.org/mike/diffs/html5/spec/Overview.1.2152.html#sandboxCookies
8.2.5.12 The "in table" insertion mode
http://people.w3.org/mike/diffs/html5/spec/Overview.1.2152.html#parsing-main-intable

http://people.w3.org/mike/diffs/html5/spec/Overview.diff.html
http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.2151&r2=1.2152&f=h
http://html5.org/tools/web-apps-tracker?from=2987&to=2988

===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.2151
retrieving revision 1.2152
diff -u -d -r1.2151 -r1.2152
--- Overview.html	25 Apr 2009 22:47:40 -0000	1.2151
+++ Overview.html	26 Apr 2009 06:40:19 -0000	1.2152
@@ -148,7 +148,7 @@
    <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2>
    <!--ZZZ:-->
    <!--<h2 class="no-num no-toc">W3C Working Draft 23 April 2009</h2>-->
-   <h2 class="no-num no-toc" id="editor-s-draft-date-1-january-1970">Editor's Draft 25 April 2009</h2>
+   <h2 class="no-num no-toc" id="editor-s-draft-date-1-january-1970">Editor's Draft 26 April 2009</h2>
    <!--:ZZZ-->
    <dl><!-- ZZZ: update the month/day (twice), (un)comment out
     <dt>This Version:</dt>
@@ -241,7 +241,7 @@
   track.
   <!--ZZZ:-->
   <!--This specification is the 23 April 2009 Working Draft.-->
-  This specification is the 25 April 2009 Editor's Draft.
+  This specification is the 26 April 2009 Editor's Draft.
   <!--:ZZZ-->
   </p><!-- UNDER NO CIRCUMSTANCES IS THE PRECEDING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><!-- relationship to other work (required) --><p>This specification is also being produced by the <a href="http://www.whatwg.org/">WHATWG</a>. The two specifications are
   identical from the table of contents onwards.</p><!-- UNDER NO CIRCUMSTANCES IS THE FOLLOWING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><!-- UNDER NO CIRCUMSTANCES IS THE PRECEDING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><!-- context and rationale (required) --><p>This specification is intended to replace (be a new version of)
@@ -6402,8 +6402,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&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">
@@ -6445,9 +6445,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&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"><a href="#dom-document-compatmode">compatMode</a></code></dt>
    <dd>
@@ -51412,12 +51412,8 @@
    <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>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>
+    <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>
 
    </dd>
 
@@ -51426,8 +51422,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>
Received on Sunday, 26 April 2009 06:42:41 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 18 December 2010 06:14:04 GMT