hixie: Define http-equiv='set-cookie' (whatwg r5486)

hixie: Define http-equiv='set-cookie' (whatwg r5486)

http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.4377&r2=1.4378&f=h
http://html5.org/tools/web-apps-tracker?from=5485&to=5486

===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.4377
retrieving revision 1.4378
diff -u -d -r1.4377 -r1.4378
--- Overview.html 25 Sep 2010 15:32:08 -0000 1.4377
+++ Overview.html 25 Sep 2010 15:46:12 -0000 1.4378
@@ -11369,9 +11369,8 @@
   attribute is an <a href="#enumerated-attribute">enumerated attribute</a>. The following
   table lists the keywords defined for this attribute. The states
   given in the first cell of the rows with keywords give the states to
-  which those keywords map. <!--<span class="impl">Some of the
-  keywords are non-conforming, as noted in the last
-  column.</span>--></p><!-- things that are neither conforming nor do anything are commented out --><!-- if you add something non-conforming, uncomment out the last sentence above --><table id="table-http-equiv"><thead><tr><th>State
+  which those keywords map. <span class="impl">Some of the keywords
+  are non-conforming, as noted in the last column.</span></p><!-- things that are neither conforming nor do anything are commented out --><table id="table-http-equiv"><thead><tr><th>State
      <th>Keyword
      <th>Notes
    <tbody><tr><td><a href="#attr-meta-http-equiv-content-language" title="attr-meta-http-equiv-content-language">Content Language</a>
@@ -11396,6 +11395,9 @@
     <tr><td><a href="#attr-meta-http-equiv-refresh" title="attr-meta-http-equiv-refresh">Refresh</a>
      <td><code title="">refresh</code>
      <td>
+    <tr class="impl"><td><a href="#attr-meta-http-equiv-set-cookie" title="attr-meta-http-equiv-set-cookie">Cookie setter</a>
+     <td><code title="">Set-Cookie</code>
+     <td>Non-conforming
   </table><!--
 DATA: According to Henri's validator stats, here are common
 non-conforming values used by people who validate (sample of 400
@@ -11730,6 +11732,28 @@
 
    </dd>
 
+   <dt class="impl"><dfn id="attr-meta-http-equiv-set-cookie" title="attr-meta-http-equiv-set-cookie">Cookie setter</dfn> (<code title="">http-equiv="set-cookie"</code>)
+
+   <dd class="impl">
+
+    <p>This pragma sets an HTTP cookie. <a href="#refsCOOKIES">[COOKIES]</a></p>
+
+    <p>It is non-conforming. Real HTTP headers should be used instead.</p>
+
+    <ol><li><p>If the <code><a href="#meta">meta</a></code> element has no <code title="attr-meta-content"><a href="#attr-meta-content">content</a></code> attribute, or if that
+     attribute's value is the empty string, then abort these
+     steps.</li>
+
+     <li><p><a href="#obtain-the-storage-mutex">Obtain the storage mutex</a>.</li>
+
+     <li><p>Act as if <span title="receives a
+     set-cookie-string">receiving a set-cookie-string</span> for
+     <a href="#the-document-s-address">the document's address</a> via a "non-HTTP" API,
+     consisting of the value of the element's <code title="attr-meta-content"><a href="#attr-meta-content">content</a></code> attribute encoded as
+     UTF-8. <a href="#refsCOOKIES">[COOKIES]</a> <a href="#refsRFC3629">[RFC3629]</a></li>
+
+    </ol></dd>
+
   </dl><p>There must not be more than one <code><a href="#meta">meta</a></code> element with
   any particular state in the document at a time.<h5 id="other-pragma-directives"><span class="secno">4.2.5.4 </span>Other pragma directives</h5><p><dfn id="concept-http-equiv-extensions" title="concept-http-equiv-extensions">Extensions to the
   predefined set of pragma directives</dfn> may, under certain

Received on Saturday, 25 September 2010 15:47:01 UTC