HTML Standard Tracker

Diff (omit for latest revision)
Filter

Short URL: http://html5.org/r/3868

File a bug

SVNBugCommentTime (UTC)
3868Change how <keygen> is made optional so that support is detectable from script.2009-09-16 00:44
Index: source
===================================================================
--- source	(revision 3867)
+++ source	(revision 3868)
@@ -41281,7 +41281,9 @@
   attribute is an <span>enumerated attribute</span>. 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.</p>
+  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.</p>
 
   <table>
    <thead> <tr> <th> Keyword <th> State
@@ -41298,7 +41300,8 @@
 
   <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>
+  is the <i title="">RSA</i> state, if it is supported, or the <i
+  title="">unknown</i> state otherwise.</p>
 
   <p class="note">This specification does not specify what key types
   user agents are to support &mdash; it is possible for a user agent
@@ -41328,8 +41331,7 @@
      <!-- 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>
 
@@ -41342,8 +41344,7 @@
      -->
 
      <dt>If the <code title="attr-keygen-keytype">keytype</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>
 
@@ -41358,8 +41359,7 @@
 
      <dt>Otherwise, the <code
      title="attr-keygen-keytype">keytype</code> attribute is in the <i
-     title="">unknown</i> state, or the user agent does not support
-     the selected key type</dt>
+     title="">unknown</i> state</dt>
 
      <dd>
 
@@ -41513,11 +41513,14 @@
   <div class="impl">
 
   <p>The <dfn
-  title="dom-keygen-challenge"><code>challenge</code></dfn> and <dfn
-  title="dom-keygen-keytype"><code>keytype</code></dfn> IDL attributes
-  must <span>reflect</span> the respective content attributes of the
+  title="dom-keygen-challenge"><code>challenge</code></dfn> IDL
+  attribute must <span>reflect</span> the content attributes of the
   same name.</p>
 
+  <p>The <dfn title="dom-keygen-keytype"><code>keytype</code></dfn>
+  IDL attribute must <span>reflect</span> the content attributes of
+  the same name, <span>limited to only known values</span>.</p>
+
   <p>The <dfn title="dom-keygen-type"><code>type</code></dfn> IDL
   attribute must return the value "<code title="">keygen</code>".</p>
 

|