Closed Bug 307868 Opened 19 years ago Closed 19 years ago

no space between inline elements inside display:table

Categories

(Core :: Layout: Tables, defect)

1.8 Branch
x86
All
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 218460

People

(Reporter: shadow2531, Unassigned)

Details

Attachments

(2 files)

User-Agent:       Opera/8.02 (Windows NT 5.1; U; en)
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b4) Gecko/20050908 Firefox/1.4

http://www.w3.org/TR/REC-CSS2/tables.html#anonymous-boxes

Reproducible: Always

Steps to Reproduce:
This probably doesn't have anything to do with anonymous table objects being
missing, but rather whitespace getting dropped because we're "inside a table",
even though we're not.

Also, please use http://www.w3.org/TR/CSS21/ instead of
http://www.w3.org/TR/REC-CSS2/
Component: General → Layout: Tables
Product: Firefox → Core
QA Contact: general → layout.tables
Summary: display:table - necessary anonymous table objects are not created → no space between inline elements inside display:table
Version: unspecified → 1.8 Branch
Probably a duplicate of bug 218460, though, except that needs a broader summary.

*** This bug has been marked as a duplicate of 218460 ***
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
(In reply to comment #2)
> This probably doesn't have anything to do with anonymous table objects being
> missing, but rather whitespace getting dropped because we're "inside a table",
> even though we're not.

I assumed it did because in the test case, I can put an element with nothing in 
it before the x element and an element with nothing in it after the z element 
and Firefox appears to treat that as xyz being in a td.

So it appears that Firefox will style an existing element with nothing in it as 
a table-cell element, but firefox won't create a td element when necessary.

However, like you said, it could just be a white space handling problem, but it 
appears that the white space problem happens because Firefox isn't generating 
the neede elements.

> Also, please use http://www.w3.org/TR/CSS21/ instead of
> http://www.w3.org/TR/REC-CSS2/

Yep, wrong spec uri. My fault.

OS: Windows XP → All
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: