Open Bug 1883357 Opened 7 months ago Updated 3 months ago

align-content doesn't apply to table-cell elements

Categories

(Core :: Layout: Tables, defect)

defect

Tracking

()

People

(Reporter: nchevobbe, Unassigned)

References

(Depends on 1 open bug)

Details

Attachments

(2 files)

Attached image Firefox vs Chrome

On data:text/html,<meta charset=utf8><style>td {height: 100px; background: gold; align-content: end;}</style><table><tr><td>hello</td><tr></table> , on Firefox, hello is centered vertically, but on Chrome, the text is aligned to the bottom

https://drafts.csswg.org/css-align/#distribution-block seems to indicate that Chrome behavior is the expected one?

Severity: -- → S3
Component: Layout → Layout: Tables

The historic way to do this is to use vertical-align instead, but yeah, it should work. In fact, I plan to do something like this to fix bug 1877719.

Depends on: 1877719
Depends on: 1883694
Depends on: 1883699
No longer depends on: 1877719
See Also: → 1877719
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: