text-align style does not align a table inside a cell

RESOLVED INVALID

Status

()

Core
Layout: Tables
RESOLVED INVALID
13 years ago
13 years ago

People

(Reporter: Sergio Del Franco, Unassigned)

Tracking

Trunk
x86
Windows 2000
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Reporter)

Description

13 years ago
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.6) Gecko/20050225 Firefox/1.0.1
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.6) Gecko/20050225 Firefox/1.0.1

CSS2 says:
"17.5.4 Horizontal alignment in a column
The horizontal alignment of a cell's content within a cell box is specified with
the 'text-align' property."

This does not occur when content is a table.
Works ok when content are paragraphs or rulers.

Reproducible: Always

Steps to Reproduce:
See attachment.
Actual Results:  
Table inside cell is not aligned.

Expected Results:  
Table inside cell should be aligned.
(Reporter)

Comment 1

13 years ago
Created attachment 177619 [details]
testcase for bug: a table inside a table
It's not supposed to.  Use 'auto' horizontal margins instead.
Status: UNCONFIRMED → RESOLVED
Last Resolved: 13 years ago
Resolution: --- → INVALID
(Reporter)

Comment 3

13 years ago
(In reply to comment #2)
> It's not supposed to.  Use 'auto' horizontal margins instead.

What a dumb of me! I must understand that the word "text" means literally text,
and no boxes.
Maybe i was confused by IE rendering... i can't understand how i still believe it.

Anyway, thanks for your quick answer, David.
You need to log in before you can comment on or make changes to this bug.