RESOLVED DUPLICATE of bug 19937 73973
Add beforeprint and afterprint events
https://bugs.webkit.org/show_bug.cgi?id=73973
Summary Add beforeprint and afterprint events
Ben Wells
Reported 2011-12-06 19:05:33 PST
Add beforeprint and afterprint events
Attachments
WIP (7.68 KB, patch)
2011-12-06 19:18 PST, Ben Wells
abarth: review-
Ben Wells
Comment 1 2011-12-06 19:18:22 PST
Ben Wells
Comment 2 2011-12-06 19:21:22 PST
Comment on attachment 118161 [details] WIP Need to do more analysis of IE and FF behaviour, and need to add tests.
Adam Barth
Comment 3 2011-12-06 19:51:34 PST
Comment on attachment 118161 [details] WIP View in context: https://bugs.webkit.org/attachment.cgi?id=118161&action=review > Source/WebCore/ChangeLog:8 > + No new tests. (OOPS!) No tests, partner? Lots of stuff in this patch is easy to test.
Adam Barth
Comment 4 2011-12-06 19:51:59 PST
> Need to do more analysis of IE and FF behaviour, and need to add tests. Ah, sorry! I thought you nominated this patch for review.
Ojan Vafai
Comment 5 2011-12-07 10:38:14 PST
This can wait till you've done the IE/FF analysis, but before getting this reviewed you'll need to send an email to webkit-dev: http://www.webkit.org/coding/adding-features.html.
Sam Weinig
Comment 6 2011-12-07 12:08:50 PST
(In reply to comment #5) > This can wait till you've done the IE/FF analysis, but before getting this reviewed you'll need to send an email to webkit-dev: http://www.webkit.org/coding/adding-features.html. Due to the fact that is such a small enhancement (and other browsers implement it) I don't really see a need for discussion on webkit-dev.
Alexey Proskuryakov
Comment 7 2011-12-07 13:50:46 PST
This bug has some discussion, but probably not as much to reverse dupe. Marking duplicate of the older one. I agree that this doesn't sound like a feature that needs #ifdefs or requires webkit-dev e-mail. *** This bug has been marked as a duplicate of bug 19937 ***
Alexey Proskuryakov
Comment 8 2011-12-07 14:08:42 PST
Looking at the patch, it appears that beforeprint will be only dispatched after switching to printing mode. That seems suspicious.
Note You need to log in before you can comment on or make changes to this bug.