On Tue, 8 Mar 2011, Markus Ernst wrote:
In 4.10.12 on the Option element, the spec states:
The label attribute provides a label for element. The label of an option
element is the value of the label attribute, if there is one, or the
textContent of the element, if there isn't.
The value
On Tue, Jun 14, 2011 at 12:11 AM, Ian Hickson i...@hixie.ch wrote:
Furthermore, as I understand the above definitions, the spec does allow
to specify label and value in one step in a select element:
select
optionThis is value and label
/select
But not in a datalist, as the label is taken
On Tue, 14 Jun 2011, Jonas Sicking wrote:
On Tue, Jun 14, 2011 at 12:11 AM, Ian Hickson i...@hixie.ch wrote:
Furthermore, as I understand the above definitions, the spec does allow
to specify label and value in one step in a select element:
select
optionThis is value and label
In 4.10.12 on the Option element, the spec states:
The label attribute provides a label for element. The label of an option
element is the value of the label attribute, if there is one, or the
textContent of the element, if there isn't.
The value attribute provides a value for element. The
Markus Ernst wrote:
select
option label=Label1TextContent1/option
option label=Label2TextContent2/option
/select
- IE 8, Opera 11 and Chrome 9 display Label1 and Label2
- Firefox 3.6 displays TextContent1 and TextContent2
Firefox's behavour seems to be contradictory to the spec, which
Am 08.03.2011 15:22 schrieb Jukka K. Korpela:
Markus Ernst wrote:
select
option label=Label1TextContent1/option
option label=Label2TextContent2/option
/select
- IE 8, Opera 11 and Chrome 9 display Label1 and Label2
- Firefox 3.6 displays TextContent1 and TextContent2
Firefox's behavour seems
On 03/08/2011 02:22 PM, Markus Ernst wrote:
select
option label=Label1TextContent1/option
option label=Label2TextContent2/option
/select
- IE 8, Opera 11 and Chrome 9 display Label1 and Label2
- Firefox 3.6 displays TextContent1 and TextContent2
Firefox's behavour seems to be