Events on <option> no longer bubble up to <select> in multi-process Firefox

Published: | Categories: DOM

Description

On Firefox, keyboard events and mouse events fired on an <option> element are bubbling up through the parent <select> element, while such bubbling doesn’t occur on Google Chrome. This behaviour actually varies by browsers because the detail is not defined in the HTML spec yet.

For a better Web compatibility and technical reasons, those events will not bubble up when the <select> element is displayed as a dropdown list and Firefox is running in the multi-process mode. The behaviour remains the same if <select> is displayed inline where it has the multiple attribute or the size attribute with a value greater than 1.

References