max-height und tbody ...
bearbeitet von Rolf BHallo Ferdinand,
> ...und zwar verstehe ich nicht wirklich, wie die beiden interagieren.
Ganz einfach: sie interagieren gar nicht.
Höhenangaben in Tables sind immer eine Mindest-Angabe.
→ <https://www.w3.org/TR/CSS22/tables.html#height-layout>
max-height im Kontext von Tabellen ist undefiniert
→ <https://www.w3.org/TR/CSS22/visudet.html#min-max-heights>
Da steht:
> In CSS 2.2, the effect of 'min-height' and 'max-height' on tables, inline tables, table cells, table rows, and row groups is undefined.
tbody ist eine row group.
_Rolf_
der jetzt hofft, nicht irgendeine Spec übersehen zu haben, die etwas anderes behauptet…
--
sumpsi - posui - obstruxi