Table global background rendering independently in each cell

VERIFIED WONTFIX

Status

()

P3
normal
VERIFIED WONTFIX
18 years ago
18 years ago

People

(Reporter: irivera, Assigned: karnaze)

Tracking

Trunk
x86
Windows 95
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(URL)

Attachments

(1 attachment)

(Reporter)

Description

18 years ago
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 5.0; Windows 95)
BuildID:    2000111404

<table background="foo.jpg"> renders foo.jpg independently as multiple 
backgrounds for all cells in the table. The CSS-1 property background-image 
also produces this effect.

Reproducible: Always
Steps to Reproduce:
1. Go to http://justdd.metropoli2000.com
2. Look at the ListBot registration area: the background is repeated for each 
cell of the table layout.
3. Load the page in IE4+ for comparison.

Actual Results:  Each cell (<td>) of the table has a background inherited from 
the <table> tag (I guess they shouldn't...)

Expected Results:  Render a single background for the whole table.

Attaching testcase...
(Reporter)

Comment 1

18 years ago
Created attachment 19505 [details]
Test case with minimal HTML file containing a table and a JPG used as background.
(Reporter)

Comment 2

18 years ago
By the way, the formatting in the test case is there just for ease at spotting
the effect (both in the <table> tag and the mini-stylesheet).

Comment 3

18 years ago
This is intentional (wrong) behaviour for backwards compatibility.
If you want correct behaviour, use a strict DTD instead of the transitional one,
e.g.:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd"
Status: UNCONFIRMED → RESOLVED
Last Resolved: 18 years ago
Resolution: --- → WONTFIX

Comment 4

18 years ago
Agree.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.