[Webkit-unassigned] [Bug 77630] onbeforepaste fired on context menu of contentedtibale="true" body

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue May 1 09:14:03 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=77630





--- Comment #6 from Frederico Caldeira Knabben <fredck at fredck.com>  2012-05-01 09:13:58 PST ---
(In reply to comment #3)
> I don't get it. Isn't this the behavior that's expected?

It depends on the "onbeforeX" event definition.

As many onbefore events, I expect it to be very related to their relative "on" events.

For example, while "oncut" is fired as soon as "cut" is executed (after its effects), I expect "onbefurecut" to happen right *before* the cut effects takes place.

Using it as a menu item enabler is totally unexpected and if an event system is really needed for that, better to come with a different event name for it, otherwise we would need to have an "onbefore" event for every single possible menu option, which is senseless.

Of course, you guys can always inject a new definition for the before events on HTML5 specs just to match your current behavior, but this would sound definitely weird.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list