Re: [whatwg] Document with a single input[type=radio]?

On Thu, Apr 7, 2016 at 2:48 PM, Mikko Rantalainen <
mikko.rantalainen@peda.net> wrote:

> The spec says in 4.10.5.1.16 Radio Button state (type=radio)
>
>
>
> https://html.spec.whatwg.org/multipage/forms.html#radio-button-state-%28type=radio%29
>
> "A document must not contain an input element whose radio button group
> contains only that element."
>
> What this is supposed to mean in practice? Could this sentence be
> dropped because this does not match real world browser behavior?
>

It means that you must have at least two radio buttons in the group.

(A streaming browser will may hit this case after parsing the first
> radio button element in the document. Then what?)
>

Nothing, because the document is not parsed yet.

Received on Thursday, 7 April 2016 11:52:50 UTC