Image documents have white space below the image. Patch forthcoming.
Created attachment 14572 [details] Make the image 'display: block' Includes a test.
Comment on attachment 14572 [details] Make the image 'display: block' r=me
Comment on attachment 14572 [details] Make the image 'display: block' Sam let me know that this patch affects several existing layout tests. I am going to make a new version.
Styling the image is bad because it breaks fast/events/standalone-image-drag-to-editable.html . Maybe there is a way to style <body> to get rid of the white space.
Fixed in <http://trac.webkit.org/projects/webkit/changeset/21686> by enabling quirks mode for image documents. One of the quirks is that inlines with no text children do not affect top/bottom calculation.
Layout tests broke from this change, since the body will stretch to fill the viewport in quirks mode.