Implement "resize" DOM Event.

* We cannot automate this feature.
* So this testcase is a manual test.
auto merge of #1783 : saneyuki/servo/resize, r=jdm

#1715