[whatwg] Web Forms 2.0

Ian Hickson ian at hixie.ch
Thu Feb 3 05:36:54 PST 2005


On Mon, 31 Jan 2005, Daniel Brooks wrote:
> 
> Ah, that makes sense. Perhaps a single sentance that states that they 
> are counted as two form controls just like is described elsewhere (with 
> a reference), but that they are otherwise skipped.

The spec says:

| For image controls, instead of using the name given by the name 
| attribute, the field's name is checked against two names, the first 
| being the value of the name attribute with the string .x appended to it, 
| and the second being the same but with .y appended instead. Thus image 
| controls are handled as if they were two controls.
|
| If the identified form control is a file upload control, a push button 
| control, or an image control, then the field element is now skipped.


> Ah, it's in the third paragraph, but now that I read it again I see that 
> it says 'from script', not 'form script', so I guess it's ok, but 'for a 
> script' or 'for scripts' would be easier to read. The whole sentance is 
> "There is no way from script to detect this situation because that would 
> open the way for some privacy or security leaks."

Done.


Cheers,
-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'



More information about the whatwg mailing list