Closed Bug 193299 Opened 22 years ago Closed 22 years ago

extra gap below embed (swf animation) when alone in table cell

Categories

(Core :: Layout, defect)

x86
Linux
defect
Not set
major

Tracking

()

RESOLVED DUPLICATE of bug 22274

People

(Reporter: dan.j.allen, Unassigned)

References

()

Details

Attachments

(1 file)

User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3a) Gecko/20021213 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3a) Gecko/20021213 If an embed (and some cases images) is sitting in a table cell (with padding 0px) by itself and the vertical-align style of the embed is not set a gap is rendered below the embed which does not relate to any specified styles (it is an unnecessary gap). This bug is showing its face around the web on both images and object embeds. Reproducible: Always Steps to Reproduce: 1. Create a table with one cell with no padding and specify height 2. Place an embed (swf file) in the cell and set it to same height 3. Set the background color to something obvious, like red 4. See that the embed has a gap below it which was not specified Actual Results: You see the gap below the embed which should not be there Expected Results: There is no reason any gap should exist around the embed if not specified If you adjust the style of the embed to vertical-align: 'bottom' you will see that the gap below the embed disappears
Here you can see a simple example of how the gap forms below the embed, in this case a flash animation.
See also http://devedge.netscape.com/viewsource/2002/img-table/ (just substitute "SWF file" for "image" when reading the article). *** This bug has been marked as a duplicate of 22274 ***
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: