Implement "resize" DOM Event.

#1715