Closed Bug 56003 Opened 26 years ago Closed 25 years ago

Tables get rendered incorrectly when image width/height is not specified.

Categories

(Core :: Layout: Tables, defect, P3)

defect

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: graf, Assigned: karnaze)

References

()

Details

(Whiteboard: [awd:tbl])

Attachments

(3 files)

From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux 2.2.16-22 i686; en-US; m18) Gecko/20001006 BuildID: 2000100621 I provided an URL, but it is significant to know that this behavior is only seen over a fast connection, or when loading a document locally. If the problem doesn't occur for you when you visit a web site, please recreate it locally. I have a tgz with all four files -- http://www.mricon.com/bugzilla/moz_bug.tgz. Anyway, the problem is -- when accessed over a fast link, if the image sizes within the table are not specified, the table renders incorrectly. When accessing over a slow link everything seems to render like it should. To prove the problem I have a screenshot: http://www.mricon.com/bugzilla/moz_bug_screenshot.png Reproducible: Sometimes Steps to Reproduce: 1. Go to http://www.mricon.com/bugzilla/mozilla_testcase.html 2. If the problem doesn't occur, load locally. 3. If still doesn't occur, take a look at the screenshot to see that I'm not making it up. :) Actual Results: Should render without overlaps Expected Results: One image overlaps over another because cell widths are not adjusted.
Marking confirmed w/ Win2k 2000101008.
Status: UNCONFIRMED → NEW
Ever confirmed: true
If someone could please find this bug occurring on one or two top 100 sites and then add the rtm keyword, it may get approval to be fixed. Adding Buster to the CC list, since this involves images.
See also www.omnitel.it site. It wrong render the first time. If you reload page some time it render differently (some time good). If you resize window also there are similar problem.
WORKSFORME Platform: PC OS: Windows 98 Mozilla Build: 2001012205 Marking as such.
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → WORKSFORME
WORKSFORME Platform: PC OS: Linux 2.2.16 Mozilla Build: 20010123
Nope, I'm sorry. Tested with the latest build on Linux. http://www.mricon.com/xmlparse/mozilla/images/moz_bug_screenshot.png Remember -- it has to be over a really fast link, like locally.
Status: RESOLVED → REOPENED
Resolution: WORKSFORME → ---
Your right, I have a sat link and the very first load was wrong already! Each reload did trigger another layout. I see this kind of bugs a lot, starting from the first build I ever have downloaded from mozilla. Reporter, I see that you are using .png images. Can you please try to setup a testcase with .gif and/or .jpg images. Just to see if this bug is related to .png images only?
Tested with GIF's instead of PNG's -- same results. However, here's something I noticed: the images get mis-aligned when you hit reload (every time differently, pretty much), but if you put your cursor in the address bar and hit enter, then the page will be loaded correctly. I'm guessing when you hit enter in the address bar it just loads the images from local cache instead of going out and getting them over the net. If this is true, then the problem is tied with networking (?).
Thank you Konstantin for your time. And yes, if you press enter in the 'address bar' only the .HTML file gets reloaded via the network (with or without both mem and disk cache pref settings set to 0). If you press reload, then the images also reload via the network. And I do belief that this bug is an incremental reflow bug as you can see in the next attachment.
Attached file small testcase —
Just use the 'reload' button. You will see that the table is very small first. But after all images are loaded it gets it's final and correct size. And in this stage something goes wrong. Mozilla has to calculate the image size because those sizes are not available. And now it make sense to me. I belief that this bug is the same problem, or at least related to image rollovers. Image rollovers using something like src="imagename.ext" are also missing the image size. But there it has to load the images more frequently and so the problem is more visual then this bug.
QA contact update
QA Contact: chrisd → amar
*** Bug 84938 has been marked as a duplicate of this bug. ***
Platform/OS->All keyword fun
OS: Linux → All
Hardware: PC → All
Matthew, can you add the URL to the bug? This screenshot looks like the issue that I saw in the web site. .golfsociety.com... bug 98630
Sure. The two URL's in questions are: http://forums.multiplay.co.uk/ http://www.sandwich.org.uk/
WFM, yesterday's Linux CVS on both sites below (I have a fast connection).
Blocks: 104166
this worksforme, marking as such.
Status: REOPENED → RESOLVED
Closed: 25 years ago → 25 years ago
Resolution: --- → WORKSFORME
Whiteboard: [awd:tbl]
Mass removing self from CC list.
Now I feel sumb because I have to add back. Sorry for the spam.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: