[whatwg] a few comments to Webforms 2.0 Call For Comments

Olav Junker Kjær olav at olav.dk
Thu Jul 29 05:37:22 PDT 2004


Just a few small issues:

If a range is implemented with a slider control, what happens if no 
initial value is specified?

What happens if a attribute contains an invalid value? E.g. if 
pattern="\", does that mean the pattern will never be satisfied, or that 
the pattern will not be applied?

Should the DOM reflect default values? E.g. if a number-control does not 
  have the step attribute declared, the default step is 1. Should the 
DOM property step then return 1 or null?

Are the error codes cumulative on a single control? E.g. if a text-field 
have a pattern and a maxlength declared a validation might return two 
errors. Should they be added together, or should validation stop at the 
first error?

6.2 "1. Unless the root element..."
maybe it is should be explicit that this is the root element of the XML 
data source and not the HTML document containing the form.

Appendix B
shouldnt maxlength apply to uri and email ?
shouldnt required apply to checkbox and radio?


Olav Junker Kjær




More information about the whatwg mailing list