Closed Bug 476550 Opened 17 years ago Closed 17 years ago

cellspacing and cellpadding is not displayed definitely when I appoint border-collapse:collapse(CSS)

Categories

(Core :: Layout: Tables, defect)

1.9.0 Branch
x86
Windows XP
defect
Not set
normal

Tracking

()

VERIFIED INVALID

People

(Reporter: ttakano, Unassigned)

Details

Attachments

(1 file)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; ja; rv:1.9.0.5) Gecko/2008120122 Firefox/3.0.5 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; ja; rv:1.9.0.5) Gecko/2008120122 Firefox/3.0.5 A CSS file describes it as follows. TABLE{ border-collapse:collapse; border-spacing:0px; empty-cells:show; } And there are the following descriptions to the table tag of the HTML file. <table cellspacing="5" cellpadding="5" border="0"> I do not display a blank between the cell in Firefox. But,In InternetExplorer, I can confirm the blank. Even Firefox becomes the indication same as InternetExplorer when I exclude style appointment. Reproducible: Always Steps to Reproduce: Please check test case. You see the problem. Actual Results: A blank between the cell is not displayed. Expected Results: Display a blank between cells. I use Internet Explorer 6.0.2900.2180.xpsp_sp2_gdr.080814-1233 I confirmed even the Trunk,Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2a1pre) Gecko/20090202 Minefield/3.2a1pre)
Attached file This is a test case.
Component: General → Layout: Tables
Product: Firefox → Core
QA Contact: general → layout.tables
cellpadding looks like it's still working fine, and cellspacing isn't supposed to work when you use 'border-collapse:collapse'.
Status: UNCONFIRMED → RESOLVED
Closed: 17 years ago
Resolution: --- → INVALID
See http://www.w3.org/TR/CSS21/tables.html#borders . Note that cellpadding in HTML is equivalent to CSS 'padding' on the table cells, while cellspacing in HTML is equivalent to CSS 'border-spacing' on the table.
Status: RESOLVED → VERIFIED
Version: unspecified → 1.9.0 Branch
Thank you for comment,David Baron. I was able to understand movement of the CSS by your help. In consultation with a web page creator, I try for phenomenon evasion.
Status: VERIFIED → RESOLVED
Closed: 17 years ago17 years ago
Version: 1.9.0 Branch → unspecified
Status: RESOLVED → VERIFIED
Version: unspecified → 1.9.0 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: