On 2015-10-16 12:16 PM, Justin Dolske wrote:
On 10/16/15 7:20 AM, Ehsan Akhgari wrote:
On 2015-10-15 5:00 PM, Mike Conley wrote:
Note that this should not affect Gecko’s behaviour when the <select> is
displayed “inline” (for example, when the <select> has a “multiple”
attribute, or a “size” attribute with a value greater than 1). I'm only
concerned with the dropdown case.
Why should the behavior be different with non-drop-down select elements?
It makes sense to me because in the drop-down case, the user is
interacting with chrome UI (as opposed to something actually in
content). Same thing with context menus, autocomplete dropdowns, etc.
That sounds like justifying a specific behavior to me. Here is the
counter argument:
The author has a <select size=5> in their app. They are relying on
receiving the events on the option elements. Then they add a
mySel.removeAttribute("size") call and suddenly their event handlers
stop working?!
That makes no sense to me!
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform