[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
Mon Aug 3 16:09:18 PDT 2009


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


Ian 'Hixie' Hickson <ian at hixie.ch> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ian at hixie.ch




--- Comment #8 from Ian 'Hixie' Hickson <ian at hixie.ch>  2009-08-03 16:09:17 PDT ---
"The reset algorithm for select elements is to go through all the option
elements in the element's list of options, and set their selectedness to true
if the option element has a selected attribute, and false otherwise."

"If the multiple attribute is absent, whenever an option element in the select
element's list of options has its selectedness set to true, and whenever an
option element with its selectedness set to true is added to the select
element's list of options, the user agent must set the selectedness of all the
other option element in its list of options to false."

So per spec in the original test case after hitting reset you'd end up with
just "3" being selected, just like initially.

-- 
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