Closed Bug 15499 Opened 25 years ago Closed 14 years ago

Percentage value for cellpadding not working

Categories

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

defect

Tracking

()

RESOLVED INVALID
Future

People

(Reporter: chrispetersen, Unassigned)

References

Details

(Keywords: html4, testcase, Whiteboard: [awd:tbl])

Attachments

(5 files)

Build: Apprunner
Version: 1999100120
Platform: All
Expect Results: The cellpadding for each cell should be 50%.
What I got: No padding is applied

Steps to Reproduce:

1) Open test case:http://slip/projects/marvin/html/table_cellpadding_pct.html
2) The table cells are not rendered with a cellpadding of 50 %.
Status: NEW → ASSIGNED
Summary: Percentage value for cellpadding not working → [CSS 2] Percentage value for cellpadding not working
Target Milestone: M13
adding CSS 2 to summary.
Summary: [CSS 2] Percentage value for cellpadding not working → {css2} Percentage value for cellpadding not working
petersen: could you attach the test case to the bug? Cheers.
Petersen is not in today - I have attached the test case below
In reviewing the test case, perhaps this is only a Nav Quirks bug. In the test
case provided, there is no height value, so I'm not sure what the 50% would
apply to. However, if you bring the test case up in Nav, the rendering is
different. Karanaze, can you shed some light on this?
The attachment below is somewhat revised, setting a width and height to the
table. Padding seems to work on top and bottom, not left or right
Attached file revised test case
*** Bug 15501 has been marked as a duplicate of this bug. ***
Target Milestone: M13 → M14
Keywords: css2
Migrating from {css2} to css2 keyword. The {css1}, {css2}, {css3} and {css-moz}
radars should now be considered deprecated in favour of keywords.
I am *really* sorry about the spam...
Whiteboard: [TESTCASE]
No change to the bug except added [TESTCASE] to Status line to get it off the
BugAThon list.

Gerv
Bulk moving [testcase] code to new testcase keyword. Sorry for the spam!
Keywords: testcase
Target Milestone: M14 → M16
Summary: {css2} Percentage value for cellpadding not working → Percentage value for cellpadding not working
Whiteboard: [TESTCASE]
*** Bug 36061 has been marked as a duplicate of this bug. ***
Target Milestone: M16 → M18
Moving to M18.
This bug has been marked "future" because we have determined that it is not 
critical for netscape 6.0. If you feel this is an error, or if it blocks your 
work in some way -- please attach your concern to the bug for reconsideration.
Target Milestone: M18 → Future
*** Bug 50075 has been marked as a duplicate of this bug. ***
*** Bug 2779 has been marked as a duplicate of this bug. ***
Percentage value for cellspacing also does not work. Should that be a separate 
bug?
QA contact update
QA Contact: chrisd → amar
when I go to www.moncourrier.com (mozilla/mozilla for login/password test)
compose box when I press the "Ecrire" button on the left is not the correct
width... it should be as large as the grey bar just on the top.
It is ok with Internet explorer 5.5 or netscape 4.75 on Windows 2000

is it the same bug... or should I submit a new one?
Adding "nsbranch" keyword because % value for "cellpadding" and "cellspacing" 
are commonly used and important...
Keywords: nsbranch
Marking nsbranch-
Keywords: nsbranchnsbranch-
No fix in hand. Not a "stop ship" bug.
this looks like it works correctly.
anthonyd
Whiteboard: [awd:tbl]
We don't yet support percent cellpadding and currently (as of a few days ago) 
turn percent values into pixel values like IE and Nav. So, if this bug is 
complaining that we are not compatable with IE then it is fixed. 
Blocks: 107067
Keywords: nsbranch-
According to comment #24 the percent values should be converted to pixels. That 
does not seem to happen except for the padding-left where it is causing text to 
overlap the right border.
No longer blocks: 107067
mass reassign to default owner
Assignee: karnaze → table
Status: ASSIGNED → NEW
QA Contact: amar → madhur
Target Milestone: Future → ---
Target Milestone: --- → Future
Frankly, I'm not sure we want to fix this bug.  Neither NS4 nor IE implement
this, and percent values for padding set via CSS work, so....
Attached file testcase
percent padding works ???
Well, the cell has 10% padding on all sides.  This does cause it to overflow the
table, etc (but what exactly is the expected rendering there?  The table size
depends on the cell size, the cell size depends on the table size; unlike the
div, the available space for the cell is the table width, not the body width).
There is a problem with XHTML files.

Build identifier: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.9a4pre) Gecko/2007040204 Minefield/3.0a4pre

See attachment below.
Attached file Test page XHTML
That testcase has nothing to do with this bug.  This bug is about cellpadding, not cellspacing.
Assignee: layout.tables → nobody
QA Contact: madhur → layout.tables
HTML5 defines cellpadding to contain just pixel values. Marking invalid.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: