[PATCH] Prefer label over option content for all cases
Nadeem Hasan
nhasan at yahoo.com
Sat Oct 2 15:37:17 CEST 2004
Hi,
Section 17.6 of HTML spec says:
"When rendering a menu choice, user agents should use the value of the label
attribute of the OPTION element as the choice. If this attribute is not
specified,
user agents should use the contents of the OPTION element."
KHTML currently honors this only for options that are within an <optgroup>. The
spec clearly does not make this distinction. The attached patch fixes khtml to
always prefer label to the option content.
Let me know if I can commit.
Regards.
_______________________________
Do you Yahoo!?
Express yourself with Y! Messenger! Free. Download now.
http://messenger.yahoo.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: khtml1.diff
Type: application/octet-stream
Size: 1317 bytes
Desc: khtml1.diff
Url : http://mail.kde.org/pipermail/khtml-devel/attachments/20041002/495254e0/khtml1.obj
More information about the Khtml-devel
mailing list