Open Bug 496315 Opened 16 years ago Updated 2 years ago

Table with cells with certain percentage columns is not rendered full-width (without specifying the width)

Categories

(Core :: Layout: Tables, defect)

x86
All
defect

Tracking

()

REOPENED

People

(Reporter: niek, Unassigned)

References

Details

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.0.10) Gecko/2009042316 Firefox/3.0.10 (.NET CLR 3.5.30729)
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.0.10) Gecko/2009042316 Firefox/3.0.10 (.NET CLR 3.5.30729)

I defined a table with the following columns: (no width), 52%, 16%, 16%, 16%. In most cases, such a construction will make the table full-width (when "width: auto;"), except for 16% percent columns, or 8%.

Reproducible: Always

Steps to Reproduce:
1. Create a table without setting a width (thus width: auto;)
2. Add a table cell with no width set.
3. Add 3, 4, 5 or 6 table cells with a width of 16%
4. Add one cell to make a total width of 100%
Actual Results:  
The table is not full-width, but really small.

Expected Results:  
A full width table.

If I use a width of anything other than 16% or 8% (not tested them all), the table renders full width. Even when using 1 or 2 16%-wide columns, the table is rendered full width.
Component: General → Layout: Tables
Product: Firefox → Core
QA Contact: general → layout.tables
Version: unspecified → 1.9.0 Branch
happens on trunk too
Status: UNCONFIRMED → NEW
Ever confirmed: true
Version: 1.9.0 Branch → Trunk
OS: Windows Vista → All
the patch in bug 490643 fixes this, its basically the same issue, columns adding up to 100%, do not trigger the expansion due to float machine rounding errors.
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → DUPLICATE
The test case from bug 490643 no longer reproduces the issue, but the one from this one does.
Status: RESOLVED → REOPENED
Resolution: DUPLICATE → ---
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: