Rowspan — spanning cells, tall spanner, span past the last row

Expected: the first orange cell covers rows 1–2 of column 1; later cells in those rows shift right. The green cell has tall content spanning rows 3–4 — those two rows together must be tall enough to contain it. The final rowspan=5 is clamped to the remaining single row.

rows 1-2r1c2r1c3
r2c2r2c3
r3c1
tall content
line 2
line 3
line 4
line 5
r3c3
r4c1r4c3
r5c1rowspan 5 (clamped)r5c3