Dynamically setting width on COLGROUP/COL doesn't work when table-layout = "fixed"

RESOLVED WORKSFORME

Status

()

defect
RESOLVED WORKSFORME
13 years ago
11 years ago

People

(Reporter: natehop, Unassigned)

Tracking

({testcase})

Trunk
x86
Windows XP
Points:
---
Bug Flags:
in-testsuite ?

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

Reporter

Description

13 years ago
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.1) Gecko/20060111 Firefox/1.5.0.1
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.1) Gecko/20060111 Firefox/1.5.0.1

If a table has its table-layout set to fixed, setting the width on a COLGROUP/COL, whether via style or the width property, doesn't change the visible width.  It appears that the width is applied to the object, but it doesn't repaint until the window has been resized.  If you simpy resize the window the width changes will be drawn correctly.

Reproducible: Always

Steps to Reproduce:
1. Create a table with table-layout set to "fixed", with COLGROUP/COL to control column styles.
2. Dynamically change the width on the COLGROUP/COL via script.
3. The new width will be applied to the object, but the cells controled by the COLGROUP/COL will not be redrawn to reflect the new width.



Expected Results:  
The table cells should visually reflect the new width assigned to the COLGROUP/COL.
Could you attach a testcase that shows the bug?
Component: General → Layout: Tables
Product: Firefox → Core
QA Contact: general → layout.tables
Version: unspecified → Trunk
Reporter

Comment 2

13 years ago
Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: testcase
Btw, also happens in Mozilla1.7.12, so no (recent) regression.

Comment 4

11 years ago
This looks to be fixed in Firefox 3 as per the test case.

Comment 5

11 years ago
wfm, the testcase should be reftest
Status: NEW → RESOLVED
Last Resolved: 11 years ago
Flags: in-testsuite?
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.