Index setters of HTMLSelectElement and HTMLOptionsCollection should do nothing...
Index 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 Review URL: https://codereview.chromium.org/1291263003 git-svn-id: svn://svn.chromium.org/blink/trunk@200893 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Showing
Please register or sign in to comment