[Webkit-unassigned] [Bug 27942] Form Reset does not work per w3c standard when single selection SELECT element has more than one option marked as selected.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Aug 4 14:23:05 PDT 2009


https://bugs.webkit.org/show_bug.cgi?id=27942





--- Comment #15 from Darin Adler <darin at apple.com>  2009-08-04 14:23:04 PDT ---
(From update of attachment 34083)
> +            selectedOption = optionElement;
> +            isOptionSelected = true;

I suggest eliminating the isOptionSelected boolean. It's the same as a null
check on selectedOption now.

> -    if (!optionSelected && firstOption && data.usesMenuList())
> +    if (!isOptionSelected && firstOption && data.usesMenuList())

Here you would just say !selectedOption.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list