Closed Bug 242502 Opened 20 years ago Closed 20 years ago

visibility: collapse do not collapse COLGROUP

Categories

(Core :: Layout: Tables, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: bugzilla, Unassigned)

Details

(Keywords: css2, testcase)

Attachments

(1 file, 1 obsolete file)

While checking a few things about bug 76497, I noticed that colgroups do not get
collapsed nor get hidden. Note that MSIE 6 for Windows will hide a colgroup
thanks to the css rule 
#idColgroup {visibility: hidden;}

Mozilla 1.8alpha 2004050108 under XP Pro here.

Simple testcase coming up.
Attached file Simple testcase (obsolete) —
Expected results: 
2nd colgroup should get hidden while the 4th colgroup (which has 3 columns)
should get collapsed.

Actual results I get with 1.8a build 2004050108: 
2nd colgroup is visible while 4th colgroup gets hidden.
could you please explain why it should be hidden. I can see collapsed in  the
CSS2.1 spec but not hidden.
visibility:hidden should have no effect on columns or column groups.
I think thats a border collapse painting issue. The columns collapse only the bc
code paints the old borders
Sorry about that. I thought visibility: hidden should have an effect on col and
colgroups. I modified the summary to reflect that change.
Summary: visibility: collapse and visibility: hidden do not collapse nor hide COLGROUP → visibility: collapse do not collapse COLGROUP
Attached file Corrected testcase
Attachment #147585 - Attachment is obsolete: true
I'm resolving this bug as WORKSFORME since bug 242997 and bug 242998 better
describe and better explain what needs to be done and what the problem is.
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: