This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
Add tests for these events (obviously hard to automate..)
Done. (Won't link to tests because the test suite is auto-generated, meaning that the URLs are in flux) Tests will basically be written like this: document.onbeforecopy = function(){return true;} function test(e){ result('UI test: passes if "copy" menu UI state is enabled'); } ..now, I know this doesn't actually work in IE (before* event support is actually *very* limited in IE). I think it would be nicer and more usable if before* events worked this way, so that's what I'm currently spec'ing.