When using a frame with fixed layout size, like Qt WebKit2 in touch mode, resize events are send every time the content resizes.
The problems seems to be that the widget has the size of the document, and resize events are send when widget size changes.
The solution should be simply to use the layout size instead of the widget size for determining if resize events should be send.
Created attachment 124316 [details]
Comment on attachment 124316 [details]
View in context: https://bugs.webkit.org/attachment.cgi?id=124316&action=review
> + Reviewed by NOBODY (OOPS!).
> + * ManualTests/resize-events.html: Added.
A comment why a layout test wasnt possible would have been good
> + // 0 or 1 resize events are acceptable, more is not
Why not write this in the HTML, now it is a manual test? You could even make it write SUCCESS/FAIL
Created attachment 124507 [details]
Comment on attachment 124507 [details]
View in context: https://bugs.webkit.org/attachment.cgi?id=124507&action=review
> + Test who many resize events are emitted during page load and dynamic content generation.
Created attachment 124513 [details]
Comment on attachment 124513 [details]
Clearing flags on attachment: 124513
Committed r106232: <http://trac.webkit.org/changeset/106232>
All reviewed patches have been landed. Closing bug.