Closed Bug 70835 Opened 25 years ago Closed 25 years ago

background-color for table column is ignored

Categories

(Core :: DOM: HTML Parser, defect)

x86
FreeBSD
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: wata7, Assigned: harishd)

References

Details

Attachments

(2 files)

From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; FreeBSD 4.2-RELEASE i386; en-US; 0.6) Gecko/20010104 BuildID: Gecko/20010104 Style sheet which specifies background-color for table column (COL element) looks wrong. background-color for COL is ignored. Reproducible: Always Steps to Reproduce: 1. make a HTML file which contains a table with COL element. <TABLE><COL CLASS="c1"><COL CLASS="c2"><TBODY><TR><TD>aa <TD>bb</TR></TABLE> 2. make CSS style sheet which contains background-color for COL element. COL.c1 { background-color: #ffff00; } 3. Let's browse. Actual Results: background-color is ignored. Expected Results: background-color should not be ignored. See CSS2 chapter 17.3. column and column group elements can have background properties.
Making a testcase.
Keywords: makingtest
Worksforme, linux build 2001-03-03-21 in strict mode. Does _not_ work in quirks mode. Probably a quirks parser issue, since there is nothing in quirks.css to account for this. I will attach both testcases.
Assignee: karnaze → harishd
Component: HTMLTables → Parser
QA Contact: chrisd → janc
Er, actually Oliver has attached the testcases for me. :) his first one is quirks mode, the second one is strict mode.
Welcome to Mid-Air Collision Meeting Point! =.-> Proposing INVALID or WONTFIX.
Keywords: makingtest
seems to be a 'correct' quirk implementation as NN4.6 does not render the backgound in both cases.
Looks like NS 4.x does not support COL at all (and so drops it and does not apply any styles to it). So I would also suggest INVALID for this bug -- the quirks mode behavior should be like NS 4.x
Agreed. Marking INVALID.
Status: UNCONFIRMED → RESOLVED
Closed: 25 years ago
Resolution: --- → INVALID
*** Bug 76479 has been marked as a duplicate of this bug. ***
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: