RESOLVED DUPLICATE of bug 16841 10622
130x320px gap with <div><a><object></object></a></div>
https://bugs.webkit.org/show_bug.cgi?id=10622
Summary 130x320px gap with <div><a><object></object></a></div>
01
Reported 2006-08-29 02:29:00 PDT
Hi, Notice : I'm not sure about the proper component. If you place the below code in a blank HTML page and view it, you'll see a 130 pixel vertical gap between 1 and 2, and a 320 pixel horizontal gap between 3 and 5. 1 <div> 2 <a> 3 <object> 4 </object> 5 </a> 6 </div> 7 I reproduced the bug in WebKit 16089, Safari 2.0.4 and Shiira 1.2.2 but not in Flock 0.7.4.1 I would appreciate an HTML/CSS fix for my site until Safari is updated.
Attachments
01
Comment 1 2006-08-29 08:47:09 PDT
Actually the bug isn't related to the anchor, as you can see there : http://cyberspace01.free.fr/debug/div-object.html And it can be patched with CSS by specifying height and width for the object tag.
Mark Rowe (bdash)
Comment 2 2006-08-30 13:17:23 PDT
Confirmed with WebKit 418.8 and WebKit ToT. The gap is caused by the object element defaulting to 300x150. Firefox does not do this with empty object elements.
Eric Seidel (no email)
Comment 3 2008-02-06 16:25:01 PST
This is related and possibly a dupe of bug 16841 or bug 15205
Robert Blaut
Comment 4 2008-02-07 05:51:37 PST
*** This bug has been marked as a duplicate of 16841 ***
Note You need to log in before you can comment on or make changes to this bug.