[whatwg] [wf2] 2.3. Changes to existing controls

Ian Hickson ian at hixie.ch
Tue Oct 25 16:30:50 PDT 2005


On Wed, 26 Oct 2005, Anne van Kesteren wrote:
> Quoting Ian Hickson <ian at hixie.ch>:
> > > # A control is said to have no value selected if its value is the
> > > # empty string.
> > > 
> > > "empty string" was the bit I was falling over.
> > 
> > But that doesn't have any effect on radio buttons or check boxes.
> > (Especially now that I've removed that odd example I mentioned.)
> 
> If you say so. It is not particularly clear to me though, as should be 
> clear by now.

Apparently... but I don't see how it could have any effect. Nothing in the 
spec says anything about "no value selected" having any effect on radio 
buttons or check boxes, does it?


> > > The normalization happens without DTDs.
> > 
> > Well, yeah, the basic normalisation that happens to any attribute 
> > including HTML attributes and so forth. But the confusing 
> > normalisation only occurs with DTDs.
> 
> In HTML I never had the problem that new lines were removed. There is 
> quite a substantial difference here imho.

It's a problem in HTML too (depends on the UA, typically, some are more 
compliant than others).

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