W3C home > Mailing lists > Public > whatwg@whatwg.org > August 2004

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

From: Ian Hickson <ian@hixie.ch>
Date: Sun, 22 Aug 2004 12:04:59 +0000 (UTC)
Message-ID: <Pine.LNX.4.61.0408221204100.20869@dhalsim.dreamhost.com>
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?)


Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Sunday, 22 August 2004 05:04:59 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:36 UTC