Closed Bug 48441 Opened 24 years ago Closed 24 years ago

nested table: background color in Quirks Mode wrong

Categories

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

x86
Linux
defect

Tracking

()

RESOLVED DUPLICATE of bug 51286

People

(Reporter: vanbalen, Assigned: karnaze)

References

()

Details

(Keywords: testcase)

Attachments

(5 files)

Currently using 2000081008/Linux Log onto a yahoo mail account. Notice that, on the left frame, there're some ugly dark blue rectangles next to the "check mail", "search", "options"... links. Apparently, the background of the table itself is set to white and the background of each <td> is set to that blue color. When the contents of the <td>s get aligned, the bgcolor gets moved over as well, causing the underlying blue bgcolor of the <td> to be exposed. Notice that the table renders correctly on the row with the "plus sign" image. This may belong in compositor instead of HTML Tables, but I think tables is more likely... Other browsers tested: Page renders correctly on NS 4.7x
Attached file testcase (deleted) —
Test frame taken from yahoo mail to avoid having to log on...
I see this to under Win98 with freshdebug build from 2000-08-11
Keywords: makingtest
Attached file testcase wihtout style="bgcolor (deleted) —
Attached file testcase with style="bgcolor (deleted) —
Attached file corrected testcase transitional (deleted) —
Attached file corrected testcase strict (deleted) —
Please ignore the testcases from 9:30 and 9:32, probably Bill G.... tried to influence me. The latest testcase differ only in the doctype, enabling or disabling the Quirksmode. The behaviour in the Quirksmode is wrong and corresponds to the problem at yahoo.mail. Both testcases are correct rendered in Nav4.6 and IE5. Changing the summary. Confirming the bug.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: makingtest4xp, testcase
Summary: align tag messes up tables on post M17 builds → nested table: background color in Quirks Mode wrong
Seems to be a dupe of bug 30036.
Bernd: Either you or I got the point of this bug wrong. Your testcases show that in strict mode border-spacing is filled with the background of the table element. That's what the CSS2 spec says in 17.6.1. In quirks mode it is filled with the background of the parent element. That's what 4.x does. This seems to be an intended behaviour. But that's the reason, why you cannot observe this bug in attachment 12689 [details] when you cange the DTD to "strict". Then the color of the "ugly dark blue rectangles" becomes white on a white background...
WFM under Win98 20001001
WORKSFORME, 2000-11-24-04-trunk on Windows 98 SE. Testcase 1 and 5 looks good, 2 and 3 should be ignored. The 4th, "corrected testcase transitional", does not render as it should - but that case is handled by bug 46268 anyway.
WORKSFORME Platform: PC OS: Windows 98 Mozilla Build: 2001012205 Marking as such.
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → WORKSFORME
WORKSFORME Platform: PC OS: Linux 2.2.16 Mozilla Build: 20010123
I still see this bug (Mozilla 0.8, Win NT) in http://bugzilla.mozilla.org/showattachment.cgi?attach_id=12689 . I'd like to mark this as a dupe of bug 51286, but am still confused about the scope of this bug, so I do not yet.
I've still been seeing what I reporte every now and then since I filed this bug but it'll only show up on one build every month or so (I haven't been downloading as many builds lately, either). Even on those builds, I haven't been able to reproduce it reliably so I haven't bothered reopening this bug. From what I see on 51286, it may well be the same problem. I'll make a note of attaching a screenshot if I'm able to repro (I'm running a build from back in December here at home).
Marking dupe. Feel free to reopen this one if I'm wrong.
Status: RESOLVED → REOPENED
Resolution: WORKSFORME → ---
*** This bug has been marked as a duplicate of 51286 ***
Status: REOPENED → RESOLVED
Closed: 24 years ago24 years ago
Resolution: --- → DUPLICATE
QA contact update
QA Contact: chrisd → amar
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: