Closed Bug 38406 Opened 24 years ago Closed 24 years ago

current url shown as background image in tables

Categories

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

x86
Windows 95
defect

Tracking

()

VERIFIED DUPLICATE of bug 40388

People

(Reporter: doronr, Assigned: dcone)

References

()

Details

Attachments

(1 file)

see the url for the bug.  you can see the url of the background="" element as
the background image, and not the image itself.

works in ns4.7x
Hmmm, I see something a bit different from Doron's description, see the 
attachment. It seems a snapshot containing the url in the location bar is 
used as the background image.
When forcing a refresh, the background becomes just white, when reloading, I get 
the snapshot as background image again.

Windows 95, build 2000050609
sorry, I see what Peter sees. changing summary.
Summary: background image url shown as background image in tables → current url shown as background image in tables
See http://rebecca/~jag/bugzilla/table-background-image.html for a better view 
on what's going on. Tiling works fine, just with the wrong image it seems.
The dimensions are the same as for the actual background image.

Also, play with refresh by moving some small window (ICQ reply window, heh) over 
the table and then bringing Moz to the front again.

And before I forget to mention again, this works fine on Linux, Moz build ID 
2000050608.
Changing the URL to a simplified case, better showing what's going on:

A table or a div using a background image in combination with an img tag for 
that same image turns the background for the table / div into garbage, but 
apparantly only when used as a background image.

Sometimes you can see it happen straight away, sometimes you need to reload the 
page. Refreshing it just makes the background image vanish.

Note: that on other pages using the same image as a background for table or div 
it remains garbage. After visiting the bug38406.html, go to the 
table-background-image.html one mentioned earlier and notice the garbage. 
Restart mozilla and now load table-background-image.html first and it behaves 
just fine. Also try bug38406.html, then tbi.html to see it's just background 
image becoming garbage and <img src=...> being just fine.

I checked other combinations (two tables, table and div) but they work just 
fine. It's only table or div (probably span too) with a background image and an 
img tag.
Forgot to add:
Last tested on build ID 2000050708 on Windows 95.
I know doron saw it on 98.

Recent Mozilla builds on Linux and Windows 2000 don't have this problem.
I'm not seeing this on a 5/25 WinNT debug build. If this is still a problem with 
a recent build on Win95/98, please reopen and reassign to dcone@netscape.com.
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → WORKSFORME
Well, I'm still seeing this problem on Windows 95, build ID 2000053108.
Reopening :-)
Status: RESOLVED → REOPENED
OS: Windows 98 → Windows 95
Resolution: WORKSFORME → ---
And reassigning it to dcone@netscape.com.
Assignee: karnaze → dcone
Status: REOPENED → NEW
This is not a Table or a Backround tiling issue, this has to do with using the 
same image twice, and the background tiler will ask if it is stopped, which 
returns false.. and the table will not paint its background.  If you use the 
same image but duplicate the file and use two files everything works fine.  This 
is the same issue with bug 40388, so I am marking this as a duplicate of that 
bug (also my bug and have a fix for, need a little testing though).

*** This bug has been marked as a duplicate of 40388 ***
Status: NEW → RESOLVED
Closed: 24 years ago24 years ago
Resolution: --- → DUPLICATE
verifying!
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: