hixie: Change how <keygen> is made optional so that support is detectable from script. (whatwg r3868)

hixie: Change how <keygen> is made optional so that support is
detectable from script. (whatwg r3868)

http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.3032&r2=1.3033&f=h
http://html5.org/tools/web-apps-tracker?from=3867&to=3868

===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.3032
retrieving revision 1.3033
diff -u -d -r1.3032 -r1.3033
--- Overview.html 16 Sep 2009 00:27:02 -0000 1.3032
+++ Overview.html 16 Sep 2009 00:38:53 -0000 1.3033
@@ -32812,7 +32812,9 @@
   attribute is an <a href="#enumerated-attribute">enumerated attribute</a>. The following
   table lists the keywords and states for the attribute &mdash; the
   keywords in the left column map to the states listed in the cell in
-  the second column on the same row as the keyword.<table><thead><tr><th> Keyword <th> State
+  the second column on the same row as the keyword. User agents are
+  not required to support these values, and must only recognise values
+  whose corresponding algorithms they support.<table><thead><tr><th> Keyword <th> State
    <tbody><tr><td> <code title="">rsa</code>
      <td> <i title="">RSA</i>
 <!-- v2 (see below)
@@ -32821,7 +32823,7 @@
      <td> <i title="">EC</i>
 -->
   </table><p>The <i>invalid value default</i> state is the <i title="">unknown</i> state. The <i>missing value default</i> state
-  is the <i title="">RSA</i> state.<p class="note">This specification does not specify what key types
+  is the <i title="">RSA</i> state, if it is supported, or the <i title="">unknown</i> state otherwise.<p class="note">This specification does not specify what key types
   user agents are to support &mdash; it is possible for a user agent
   to not support any key types at all.<div class="impl">
 
@@ -32843,8 +32845,7 @@
     <dl class="switch"><!-- v2 (see above)
 
      <dt>If the <code title="attr-keygen-keytype">keytype</code>
-     attribute is in the <i title="">EC</i> state and the user agent
-     supports an EC signature algorithm</dt>
+     attribute is in the <i title="">EC</i> state</dt>
 
      <dd>
 
@@ -32855,8 +32856,7 @@
      </dd>
 
      --><dt>If the <code title="attr-keygen-keytype"><a href="#attr-keygen-keytype">keytype</a></code>
-     attribute is in the <i title="">RSA</i> state, and the user agent
-     supports an RSA signature algorithm</dt>
+     attribute is in the <i title="">RSA</i> state</dt>
 
      <dd>
 
@@ -32868,8 +32868,7 @@
 
      </dd>
 
-     <dt>Otherwise, the <code title="attr-keygen-keytype"><a href="#attr-keygen-keytype">keytype</a></code> attribute is in the <i title="">unknown</i> state, or the user agent does not support
-     the selected key type</dt>
+     <dt>Otherwise, the <code title="attr-keygen-keytype"><a href="#attr-keygen-keytype">keytype</a></code> attribute is in the <i title="">unknown</i> state</dt>
 
      <dd>
 
@@ -32988,10 +32987,14 @@
 
   </dl><div class="impl">
 
-  <p>The <dfn id="dom-keygen-challenge" title="dom-keygen-challenge"><code>challenge</code></dfn> and <dfn id="dom-keygen-keytype" title="dom-keygen-keytype"><code>keytype</code></dfn> IDL attributes
-  must <a href="#reflect">reflect</a> the respective content attributes of the
+  <p>The <dfn id="dom-keygen-challenge" title="dom-keygen-challenge"><code>challenge</code></dfn> IDL
+  attribute must <a href="#reflect">reflect</a> the content attributes of the
   same name.</p>
 
+  <p>The <dfn id="dom-keygen-keytype" title="dom-keygen-keytype"><code>keytype</code></dfn>
+  IDL attribute must <a href="#reflect">reflect</a> the content attributes of
+  the same name, <a href="#limited-to-only-known-values">limited to only known values</a>.</p>
+
   <p>The <dfn id="dom-keygen-type" title="dom-keygen-type"><code>type</code></dfn> IDL
   attribute must return the value "<code title="">keygen</code>".</p>

Received on Wednesday, 16 September 2009 00:39:49 UTC