Bug 21649 - image in the center column displays incorrectly
Summary: image in the center column displays incorrectly
Status: RESOLVED WONTFIX
Alias: None
Product: WebKit
Classification: Unclassified
Component: Plug-ins (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC Windows XP
: P2 Normal
Assignee: Nobody
URL: http://blog.sina.com.cn/u/4bf6606e010...
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-16 11:49 PDT by Anantha Keesara
Modified: 2022-07-01 11:36 PDT (History)
6 users (show)

See Also:


Attachments
reduction.zip (85.55 KB, application/octet-stream)
2008-10-16 11:49 PDT, Anantha Keesara
no flags Details
HTML test case and screenshots of various browsers (712.70 KB, application/zip)
2011-10-19 02:43 PDT, Swapna
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Anantha Keesara 2008-10-16 11:49:47 PDT
I Steps:
 Go to http://blog.sina.com.cn/u/4bf6606e01008spa
 
 II Issue:
 image in the center column displays incorrectly
 
 III Conclusion:
 This issue is caused by the calculation of table height in webkit/FF3. In this case there are two embed objects in a table, the table's height is specified to 300px, the 1st embed's height is not specified and the second embed's height is specified to 300px, so:
 
 In IE/Opera, the finally height of table is 300px (height of 1st embed object is ignored)
 In webkit/FF3, the 1st embed object has a default height, so the final height of table = 1st embed's default height + 2nd embed's height > 300px. This causes the table's height is more bigger and the background image repeats a little
 
 III Other Browsers:
 IE7: ok
 FF3: not ok
 
 IV Nightly tested: 37382
Comment 1 Anantha Keesara 2008-10-16 11:49:48 PDT
Created attachment 24401 [details]
reduction.zip
Comment 2 Swapna P 2011-09-19 21:50:15 PDT
Hi,
I am working on this issue.
Comment 3 Swapna 2011-10-19 02:43:18 PDT
Created attachment 111582 [details]
HTML test case and screenshots of various browsers

Hi All,

I am attaching even more stripped & similar test HTML to understand the behaviour across all browsers. Also attached the screen shots in different browsers.
The observations are as follows:

1. The table height can grow to accommodate its elements. All browsers does the same.

2. If the src attribute in EMBED element is not available (404 error / not specified / not supported content type / incorrect content), the behaviour of presenting element (Missing Plugin/ leaving blank / ignoring) is different across browsers.
    a. Default width and height (used when not explicitly specified) of the Plugin is different across different browsers.
    b. Some browsers provide background for missing plugin and some may provide transparent background.
    c.  If invalid source attribute is provided in plugin, Firefox is just ignoring.
Due to these, the content might look different across browsers.

I guess the default values for width & height of Embed element is not standardized. So the current behaviour of safari seems to be proper.
Comment 4 Alexey Proskuryakov 2022-07-01 11:36:18 PDT
Mass closing plug-in bugs, as plug-in support has been removed from WebKit.

Please comment and/or reopen if this still affects WebKit in some way.