Bug 10622 - 130x320px gap with <div><a><object></object></a></div>
Summary: 130x320px gap with <div><a><object></object></a></div>
Status: RESOLVED DUPLICATE of bug 16841
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: 419.x
Hardware: Mac OS X 10.4
: P3 Normal
Assignee: Nobody
URL: http://cyberspace01.free.fr/debug/div...
Keywords: HasReduction
Depends on:
Blocks:
 
Reported: 2006-08-29 02:29 PDT by 01
Modified: 2008-02-07 05:52 PST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description 01 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.
Comment 1 01 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.
Comment 2 Mark Rowe (bdash) 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.
Comment 3 Eric Seidel (no email) 2008-02-06 16:25:01 PST
This is related and possibly a dupe of bug 16841 or bug 15205
Comment 4 Robert Blaut 2008-02-07 05:51:37 PST

*** This bug has been marked as a duplicate of 16841 ***