1-pixel-wide table column specified, actual column renders much wider.

RESOLVED INVALID

Status

()

Core
Layout: Tables
RESOLVED INVALID
16 years ago
16 years ago

People

(Reporter: Mike Hoye, Unassigned)

Tracking

Trunk
x86
Windows XP
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(URL)

(Reporter)

Description

16 years ago
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.3a) Gecko/20030113 Phoenix/0.5
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.3a) Gecko/20030113 Phoenix/0.5


Table row is specified to be one pixel wide, and is rendered as much wider than
that. ten pixels wide or so. 

See bug #150403 for a similar bug.

Problem occurs in .4, .5 and most recent nightly version of Phoenix.

Reproducible: Always

Steps to Reproduce:
1.Declare an appropriate table with a distinct middle-row color
2.Load it up.
3.

Actual Results:  

The text of the table rendered correctly - only the empty middle row did not
render properly.

Expected Results:  

Expected a single one-pixel wide strip down the middle of my page.

Comment 1

16 years ago
Invalid.  Width sets the width of the content area.  You still have 5 pixels of
padding along all four sides, making the line 11 pixels thick.  If you set
cellpadding="0" in the table, you'll get a one pixel line.
BTW, this design could be done much better and simpler by replacing the table
with two divs, putting a border-left on the div on the right.
Status: UNCONFIRMED → RESOLVED
Last Resolved: 16 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.