Closed Bug 59607 Opened 25 years ago Closed 25 years ago

left cellpadding disapears when using "table-layout: fixed; width: xxx;" on a table inside another table

Categories

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

x86
Windows 98
defect

Tracking

()

VERIFIED WORKSFORME

People

(Reporter: thm-dev, Assigned: karnaze)

References

()

Details

Attachments

(1 file)

From Bugzilla Helper: User-Agent: Mozilla/4.0 (compatible; MSIE 5.01; Windows 98) BuildID: 2000101014 I have created a "test-suite" because this strange problem appeared in Mozilla/NS6, but not in IE. The cell padding on the left side disapears only when stylesheet- properties "table-layout" is set to "fixed" and "width" is set to anything, for a table nested inside another table. Padding for top and buttom is ok, and i think right is also ok. (se http://www.phpsitebuilder.dk/test.table.news.html) Reproducible: Always Steps to Reproduce: 1.make html document 2.make table 3.in a cell, make another table (<table><tr><td><table...) 4.give the second table stylesheet properties: style="table-layout: fixed; width: 200px;" 4a.maybe also specify cellpadding="10" to make the result more clear 5.enter something in a cell in the second table Actual Results: the contents of the cell in the second table is situated at the left border of the cell Expected Results: the contents of the cell in the second table should be situated X pixels from the left border, where X is the cellpadding
Redirecting to html tables. Looking at the testpage url this seems related if not a dup of bug 59278. Reporter can you please 1) read if bug 59278 is the same bug, and/or 2) make a new very simple test case that has one nested table that has padding of 30px's instead of 3px's. 3px's seems kinda small to see the diff. thanks -j
Component: Layout → HTMLTables
I don't think that it is related to bug 59278, since that doesn't appear in 'old' builds of mozilla. But I have changed my test-page to only show three tables: the first one is not nested and looks as it should (with table-layout:fixed and width:300px and padding:30px -- so now it should be clear enough), the second is then nested and here the problem is obvious only the left padding that is zero -- both with the centered text in the th-cell and the left-aligned text in the td-cell. The last table is the same as the second, but without specified width to show that the problem does not occur here.
Component: HTMLTables → Image Conversion Library
Tobias can you please download a recent build. http://ftp.mozilla.org/pub/mozilla/nightly/latest/ You will see that your problem does not exist. I will provide a screen shot showing that there is not any problem with the left padding but the rendering problem of overflowing content is covered under bug 59278.
Assignee: clayton → karnaze
Component: Image Conversion Library → HTMLTables
QA Contact: petersen → chrisd
Ok - the 'left-indent' bug was there up til M18, but it seems to have been replaced with the 'overflow' bug now :/ So, should the bug be marked as 'resolved' ?
viewed url in Mozilla Trunk 2000110804 on Win2k and the paddings all appeared correct to me.
Resolving worksforme, since it seems to do so for everyone, including the reporter.
Status: UNCONFIRMED → RESOLVED
Closed: 25 years ago
Resolution: --- → WORKSFORME
Tobias there is one topic to a bug. Your bug was about incorrect left padding in a table cell. This has been fixed in current builds. The overflow bug is covered in 59278 and 58252. If you want to provide a testcase for the cell overflowing please post under those bugs. :-) verf WFM.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: