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

Ian Hickson ian at hixie.ch
Sun Aug 22 05:04:59 PDT 2004


On Tue, 3 Aug 2004, Olav Junker [iso-8859-1] Kjær wrote:
> 
> And section 7.5 says:
> "The new pattern, required, autocomplete, autofocus, inputmode, min, max,
> wrap, disabled, action, enctype, method and replace attributes simply
> reflect the current value of their relevant content attribute."
> 
> So I would think that min/max/step DOM properties should be null when 
> not declared in the HTML, and that the validation code should use a 
> hardcoded default value in that case. This default value will not be 
> exposed by the DOM, then.

To clarify this I've added:

"If the attribute is not specified or has an invalid value, then the DOM 
attribute reflects the default value."


> (The step attribute is left out of the quoted paragraph, however I 
> assume that is just an oversight?)

Fixed.

-- 
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