[Bug 15101] Multiple input buttons inside a label

https://www.w3.org/Bugs/Public/show_bug.cgi?id=15101

--- Comment #3 from Ville Skyttä <ville.skytta@iki.fi> 2011-12-08 17:50:06 UTC ---
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.

-- 
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 Thursday, 8 December 2011 17:50:10 UTC