RESOLVED FIXED 13735
REGRESSION: Image documents have white space below the image
https://bugs.webkit.org/show_bug.cgi?id=13735
Summary REGRESSION: Image documents have white space below the image
mitz
Reported 2007-05-15 13:40:59 PDT
Image documents have white space below the image. Patch forthcoming.
Attachments
Make the image 'display: block' (29.66 KB, patch)
2007-05-15 13:46 PDT, mitz
no flags
mitz
Comment 1 2007-05-15 13:46:32 PDT
Created attachment 14572 [details] Make the image 'display: block' Includes a test.
Darin Adler
Comment 2 2007-05-15 13:48:03 PDT
Comment on attachment 14572 [details] Make the image 'display: block' r=me
mitz
Comment 3 2007-05-15 23:13:59 PDT
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.
mitz
Comment 4 2007-05-16 05:02:16 PDT
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.
mitz
Comment 5 2007-05-23 22:57:14 PDT
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.
Dave Hyatt
Comment 6 2007-05-24 02:26:07 PDT
Layout tests broke from this change, since the body will stretch to fill the viewport in quirks mode.
Note You need to log in before you can comment on or make changes to this bug.