Closed Bug 29123 Opened 25 years ago Closed 24 years ago

Padding not working on TR, THEAD, TBODY or TFOOT

Categories

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

defect

Tracking

()

VERIFIED INVALID

People

(Reporter: christinehoff4, Assigned: karnaze)

Details

(Keywords: css1)

Attachments

(1 file)

Using the following builds:

Windows: 02-21-09
Mac: 02-23-12
Linux: 02-23-09

Open the attached testcase. There is a .25in padding style on TR, THEAD, TBODY, 
TFOOT.

Expected results: Each of the above should have a .25in padding
Actual results: Padding is not working (it is ok on TABLE, TH, and TD elements)
Results are cross platform
Keywords: css1
I believe that padding is only allowed on <table>, <td>, <th>. Marking invalid.
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → INVALID
I can't find any specific reference where padding is not allowable on these 
elements. I am going to do some further investigation and will get back to this 
bug.
Will mark this verified invalid, pending further investigation
Status: RESOLVED → VERIFIED
It is not just padding properties that aren't honored on TR, THEAD, TBODY and 
TFOOT.  I've been frustrated by the inability to get border properties to work 
either.  Would I be right is speculating that no box properties are honored at 
all?

Why does karnaze@netscape.com believe this is not allowed.  Evry box-model 
property in CSS1/2 is specified as:

  "Applies to: all elements"

And in any case without the ability to set borders on, say, TBODY, how can I 
emulate the HTML 4 'rules' attribute to visually separate multiple TBODY's?
Status: VERIFIED → REOPENED
Resolution: INVALID → ---
More evidence that CSS is intended to allow box properties for TBODY etc.
From CSS2 standard section 17.2, 1st paragraph:

"Rows and columns may be grouped structurally and this grouping reflected in 
presentation (e.g., a border may be drawn around a group of rows)."
This bug is invalid because it addresses padding specifically. Border properties  
apply to TR, THEAD, etc. when border-collapse:collapse is set and is addressed 
in other open bugs. I've added dbaron to the CC list just in case I've missed 
something.
Status: REOPENED → RESOLVED
Closed: 25 years ago24 years ago
Resolution: --- → INVALID
Adding 'verifyme' keyword
Keywords: verifyme
verifying invalid
Status: RESOLVED → VERIFIED
Keywords: verifyme
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: