Closed Bug 278838 Opened 20 years ago Closed 15 years ago

Percentage width colspans containing <input> makes table too wide

Categories

(Core :: Layout: Tables, defect)

defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: elliott, Unassigned)

References

()

Details

(Keywords: testcase)

Attachments

(2 files)

User-Agent:       Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0
Build Identifier: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0

I am using similar style on several of my pages, but for some reason my table
with twelve equal columns has a rendering problem. The last cell with a column
span of 3 gets stretched if it has a text input field in it, even if it is a
very small sized input field.  However, if I have a row that does not use any
column spans (in other words 12 cells), then the problem goes away, or if I
replace the text input with some simple text.

Please note that I made this page up special from the original so that the code
was greatly reduce and the style sheet was embedded.

Firefox is the only browser that seems to do this.  I have tried it on Mac OS
10.3, and Win 2000 Pro, and it has this error on both.


Reproducible: Always

Steps to Reproduce:
1. Simply go to the URL in Firefox.

Actual Results:  
The table stretches beyon the yellow box.

Expected Results:  
It should not have stretched.

Uses Web Developer Toolbar to outline the table cells so you can see what is
happening.
Attachment #171636 - Attachment description: A pictuer of the Error. → A picture of the Error.
moving from FIREFOX - GENERAL to core component for now.
Assignee: firefox → nobody
Component: General → Layout: Tables
Product: Firefox → Core
QA Contact: general → layout.tables
Version: unspecified → Trunk
Attached file Testcase
Keywords: testcase
Summary: Table Rendering Error → Percentage width colspans containing <input> makes table too wide
I guess thats an error inside
http://lxr.mozilla.org/seamonkey/source/layout/tables/BasicTableLayoutStrategy.cpp
http://www.mozilla.org/newlayout/doc/table-layout.html might help to get started
on the bug. If somebody volunteers to work on this I will be available for help,
but not able to work on this (low priority for me).
Status: UNCONFIRMED → NEW
Ever confirmed: true
this is wfm
Status: NEW → RESOLVED
Closed: 15 years ago
Flags: in-testsuite?
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: