Re: [whatwg] Option label, textContent and value

2011-06-14 Thread Ian Hickson
On Tue, 14 Jun 2011, Jonas Sicking wrote: > On Tue, Jun 14, 2011 at 12:11 AM, Ian Hickson wrote: > >> Furthermore, as I understand the above definitions, the spec does allow > >> to specify label and value in one step in a select element: > >> > >> > >>   This is value and label > >> > >> > >> B

Re: [whatwg] Option label, textContent and value

2011-06-14 Thread Jonas Sicking
On Tue, Jun 14, 2011 at 12:11 AM, Ian Hickson wrote: >> Furthermore, as I understand the above definitions, the spec does allow >> to specify label and value in one step in a select element: >> >> >>   This is value and label >> >> >> But not in a datalist, as the label is taken from the textCon

Re: [whatwg] Option label, textContent and value

2011-06-14 Thread Ian Hickson
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. > >

Re: [whatwg] Option label, textContent and value

2011-03-08 Thread Mounir Lamouri
On 03/08/2011 02:22 PM, Markus Ernst wrote: > > TextContent1 > TextContent2 > > > - 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 gives > the label attr

Re: [whatwg] Option label, textContent and value

2011-03-08 Thread Markus Ernst
Am 08.03.2011 15:22 schrieb Jukka K. Korpela: Markus Ernst wrote: TextContent1 TextContent2 - 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 gives the label at

Re: [whatwg] Option label, textContent and value

2011-03-08 Thread Jukka K. Korpela
Markus Ernst wrote: TextContent1 TextContent2 - 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 gives the label attribute precedence. This is a bug in Fire

[whatwg] Option label, textContent and value

2011-03-08 Thread Markus Ernst
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