Chromium Code Reviews
DescriptionFix problems on changing 'multiple' state SELECT element to 'single' state.
This CL fixes two problems.
* Setting 'multiple' IDL attribute to false and removing 'multiple' content
attribute had different behavior.
They should be identical. This CL removes HTMLSelectElement::setMultiple(), and
add [Reflect] to 'multiple' IDL attribute.
* If multiple SELECT without selected OPTIONs is changed to single, we should run
resetToDefaultSelection().
All other browsers agree with this behavior.
BUG=599008
Committed: https://crrev.com/ed6cd6b785c97d4a678c262bbf5e62bf46e5a2e8
Cr-Commit-Position: refs/heads/master@{#384226}
Patch Set 1 #Patch Set 2 : #Patch Set 3 : Fix a typo in a comment #
Messages
Total messages: 21 (12 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||