- From: <bugzilla@jessica.w3.org>
- Date: Thu, 25 Jul 2013 16:36:17 +0000
- To: www-validator-cvs@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=22802
Bug ID: 22802
Summary: Validation of the select element and empty options
differ from the HTML5 spec
Classification: Unclassified
Product: Validator (Nu)
Version: unspecified
Hardware: PC
OS: other
Status: NEW
Severity: normal
Priority: P2
Component: General
Assignee: mike+validator@w3.org
Reporter: laurent.goderre@gmail.com
QA Contact: www-validator-cvs@w3.org
When I validate this page:
http://wet-boew.github.io/wet-boew/demos/formvalid/formvalid-eng.html
I Get the following error:
Error: Element option without attribute label must not be empty.
>From line 104, column 9; to line 104, column 17
>↩<option></option>↩<opti
Here is what the spec says about empty option elements
(http://www.w3.org/TR/html51/forms.html#placeholder-label-option)
If a select element has a required attribute specified, does not have a
multiple attribute specified, and has a display size of 1; and if the value of
the first option element in the select element's list of options (if any) is
the empty string, and that option element's parent node is the select element
(and not an optgroup element), then that option is the select element's
placeholder label option.
An empty option element should be permitted as the first child of an select
element.
--
You are receiving this mail because:
You are the QA Contact for the bug.
Received on Thursday, 25 July 2013 16:36:21 UTC