Open Bug 311076 Opened 19 years ago Updated 2 years ago

table cell baseline alignment should not consider things other than line boxes or table rows (e.g., empty tables, replaced blocks)

Categories

(Core :: Layout: Tables, defect)

x86
Windows XP
defect

Tracking

()

People

(Reporter: bernd_mozilla, Unassigned)

Details

(Keywords: css2)

Attachments

(1 file)

dbaron in bug 291060
So what I was trying to say in this part of comment 9:

> According to the spec text, though, an empty table has no baseline at all,
> rather than its bottom, so this still isn't *quite* right.  (Ian wrote it, and
> he has a very different mental model of how baselines should work than the one
> our code has or the one I have.)

was that this patch is incorrect in the case where a table cell begins with an
empty table.  This patch treats some part of the empty table as the baseline for
the outer cell, but the correct behavior according to Ian's text is that the
baseline should come from whatever follows the empty table.
David is this still an issue?
Attached file testcase
Yep, it's still a problem.

(Note that uncommenting the 'display:block' shows that it's not a problem for blocks.)
Summary: empty baseline handling is not CSS2.1 compliant → table cell baseline alignment should not consider things other than line boxes or table rows (e.g., empty tables)
Summary: table cell baseline alignment should not consider things other than line boxes or table rows (e.g., empty tables) → table cell baseline alignment should not consider things other than line boxes or table rows (e.g., empty tables, replaced blocks)

The bug assignee didn't login in Bugzilla in the last 7 months, so the assignee is being reset.

Assignee: bernd_mozilla → nobody
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: