On Oct 24, 2007, at 3:27 PM, Tee G. Peng wrote:

I am working on a web form that has Optgroup in it, and the first time I realized browsers render this attribute differently.

IE Mac displays 'CA' in your 1st example
IE 7 Win displays 'CA' in your 1st example
Opera 9.5 alpha: idem ditto.

I made an example page with markup copied from the above page
http://lotusfromthemud.com/option.html

Under 17.6.1 it says (specifically for label in option):
<http://www.w3.org/TR/html401/interact/forms.html#adef-label-OPTION>
label = text [CS]
This attribute allows authors to specify a shorter label for an option than the content of the OPTION element. When specified, user agents should use the value of this attribute rather than the content of the OPTION element as the option label.

That sounds, to me, as validating what Safari, IE Mac, IE Win Camino are doing.
Note that Firefox is not wrong by the description given above.

Philippe
---
Philippe Wittenbergh
<http://emps.l-c-n.com>





*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*******************************************************************

Reply via email to