Bug 10622
Summary: | 130x320px gap with <div><a><object></object></a></div> | ||
---|---|---|---|
Product: | WebKit | Reporter: | 01 <01-reg> |
Component: | DOM | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED DUPLICATE | ||
Severity: | Normal | CC: | mrowe |
Priority: | P3 | Keywords: | HasReduction |
Version: | 419.x | ||
Hardware: | Mac | ||
OS: | OS X 10.4 | ||
URL: | http://cyberspace01.free.fr/debug/div-a-object.html |
01
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 | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
01
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)
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)
This is related and possibly a dupe of bug 16841 or bug 15205
Robert Blaut
*** This bug has been marked as a duplicate of 16841 ***