DescriptionIndex setters of HTMLSelectElement and HTMLOptionsCollection should do nothing if the requested index is too large.
They should be consistent with their |length| setters.
Also, The index setters and the |length| setters have two behavior
changes as follows:
* Do not skip processing if an option list has enough size.
We don't limit an option list length if the options were parsed by the
HTML parser. So an option list length can be larger than maxSelectItems.
There's no reason to skip the processing or shrink the length if
the list already has enough size.
* Show console warnings when they do nothing due to the length limitation.
BUG=522802
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=200893
Patch Set 1 #
Total comments: 4
Patch Set 2 : Update warning messages #
Messages
Total messages: 9 (3 generated)
|