W3C home > Mailing lists > Public > www-validator-cvs@w3.org > December 2011

[Bug 15101] Multiple input buttons inside a label

From: <bugzilla@jessica.w3.org>
Date: Sun, 11 Dec 2011 23:51:05 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1RZtAf-0003G8-Jb@jessica.w3.org>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=15101

--- Comment #4 from zwwwz@aol.com 2011-12-11 23:51:04 UTC ---
(In reply to comment #3)
> HTML5 validation rules are very different from XHTML or HTML < 5 validation.
> 
> For HTML5 the issue is caught:
> 
> <!DOCTYPE html>
> <html>
> <head><title></title>
>     <label>
>         <input type="button" class="setNamePattern" value="1111">
>         <input type="button" class="setNamePattern" value="2222">
>     </label>
> </html>
> 
> Line 6, Column 65: The label element may contain at most one input, button,
> select, textarea, or keygen descendant.
> Line 4, Column 11: label element with multiple labelable descendants.

so are you saying that I should be able to put multiple buttons in a label?

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Sunday, 11 December 2011 23:51:06 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 26 April 2012 12:55:31 GMT