Avoid divide by zero when we get an empty rect while snapshotting a node
Created attachment 238326 [details] Patch
Created attachment 238327 [details] Patch
https://trac.webkit.org/r173737