javascript - Does Opera capture events by default and what is the correct behaviour? -


I had some event code that failed in Opera and I snatched it down

Actually The problem is that the event handler does not run in opera if the third parameter of addEventListener is not set. In Firefox and Chrome, the value in the Taxcake Internal is when the "Use is not used" - Button is clicked, but not in Opera.

This (old) article indicates that Opera is different from WebKit & amp; Lizard Browser: I'm not sure what to do about it though MDN says that the useCapture should be the default on false .

The default is true in Opera, this parameter is optional, or what am I missing? What is the right behavior?

If there is any doubt, see the device originally and still the current spec is W3C, seeing that It seems that the useCapture parameter is required because it is not an optional reference.

DOM Level 3 Event, although I do not think so

Note: useCapture became optional only in more recent versions of major browsers; For example, it was not optional before Firefox 6. You should provide that parameter for comprehensive compatibility.

Bottom line: It is always safe to pass in all three parameters, and Opera has the right to insist on it.

Comments

Popular posts from this blog

mysql - BLOB/TEXT column 'value' used in key specification without a key length -

c# - Using Vici cool Storage with monodroid -

python - referencing a variable in another function? -