Closed Bug 159452 Opened 22 years ago Closed 22 years ago

<col span.. > not working as expected

Categories

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

defect

Tracking

()

RESOLVED DUPLICATE of bug 139524

People

(Reporter: fab, Assigned: jerry.tan)

Details

(Keywords: html4, testcase)

Attachments

(1 file)

If you use the "col" tag in a table, its span attribute isn't working as expected.

For example

<col width="100" span="2" />
<col width="50" span="2" />

should set the width of the first two columns to 100px and the width of the
third and fourth columns to 50px. But instead Mozilla sets the width of the
first column to 100px and the third and fourth to 50px.

Tested on Mozilla 1.0, 1.1a, 1.1b on Linux and Mozilla 1.0 on Windows.
Attached file testcase
Confirmed on WinXP trunk build 2002072408.
I didn't even know this HTML tag existed :D
Status: UNCONFIRMED → NEW
Ever confirmed: true
Confirmed on WinXP trunk build 2002072514.
Confirmed on branch build: 2002072908.WIN2K
Keywords: testcase
Priority: -- → P2
I think it is a regression.
Take it.
if karnaze want to own it, feel free to reassign.
Assignee: karnaze → jerry.tan
Using debug build to access testcase, some error message will show on console.

frame: TableCol(col)(1) (89abec) style: 89aaa0 {}
Wrong parent style context:  style: 89a6b0 {}
should be using:  style: 89ab5c :-moz-table-column-group {}

frame: TableCol(col)(3) (89ac78) style: 89aaa0 {}
Wrong parent style context:  style: 89a6b0 {}
should be using:  style: 89ab5c :-moz-table-column-group {}

frame: TableCol(col)(5) (89acfc) style: 89aaa0 {}
Wrong parent style context:  style: 89a6b0 {}
should be using:  style: 89ab5c :-moz-table-column-group {}

frame: TableCol(col)(7) (89ad88) style: 89aaa0 {}
Wrong parent style context:  style: 89a6b0 {}
should be using:  style: 89ab5c :-moz-table-column-group {}

frame: TableCol(col)(1) (8ba9f4) style: 8ba980 {}
Wrong parent style context:  style: 89a6b0 {}
should be using:  style: 89ab5c :-moz-table-column-group {}

frame: TableCol(col)(1) (8bab34) style: 8baaa4 :-moz-table-column {}
Wrong parent style context:  style: 8ba980 {}
should be using:  style: 89ab5c :-moz-table-column-group {}

frame: TableCol(col)(3) (8babc0) style: 8bab8c {}
Wrong parent style context:  style: 89a6b0 {}
should be using:  style: 89ab5c :-moz-table-column-group {}

frame: TableCol(col)(3) (8bac4c) style: 8bac18 :-moz-table-column {}
Wrong parent style context:  style: 8bab8c {}
should be using:  style: 89ab5c :-moz-table-column-group {}

dbaron, is it related with style system recent fix?
I have tried the patch for bug 139524 with 0731 trunk,
it can not fix this bug.
:(
the testcase is samilar with testcase 80985 of bug 139524.
so mark this as dup.

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

Attachment

General

Creator:
Created:
Updated:
Size: