[whatwg] The <keygen> element

Anne van Kesteren annevk at opera.com
Tue Apr 7 02:46:47 PDT 2009


On Tue, 07 Apr 2009 09:34:44 +0200, Ian Hickson <ian at hixie.ch> wrote:
> On Tue, 7 Apr 2009, James Ide wrote:
>> Going one step further, if the <keygen> element does support multiple
>> algorithms, would it be worthwhile to allow it to contain parameters,
>> e.g. <param name="dsa" value="some-value">? On one hand, the set of
>> widely-implemented algorithms seems small and fixing attribute names
>> like dsaparams="" makes sense. But on the other, allowing params with
>> arbitrary names seems like a more flexible approach.
>
> Why would it be more flexible to use another element? Surely attributes
> are just as flexible.

More importantly, we cannot use an element because <keygen> parses just  
like <input> and friends.


-- 
Anne van Kesteren
http://annevankesteren.nl/


More information about the whatwg mailing list