[css-tables] Dropping repeated headers/footers when one content row doesn't fit

Hi there,

The text in https://drafts.csswg.org/css-tables-3/#repeated-headers says
that we should drop the repeated footers and headers if it would prevent a
content-row fitting on the page.

My implementation in Blink is pretty naive - and just applies this rule to
the first page: if at least one content-row doesn't fit on the page after
the header group it drops the repeated headers. It will do the same once we
add footers.

Am I right in thinking that intention of the spec is to apply the rule on a
page-by-page basis? So if we have a content-row on a page that needs to
drop the footer in order to fit we should just drop the footer for that
page? And likewise if it also needs to drop the header?

In the case where a row straddles more than one page I'm planning to fix a
bug in Blink which handles this situation badly by repeating the header on
the pages the content-row straddles but just push the content of the cell
below it. Firefox does it this way currently and it looks like the common
sense rendering to me.

Thanks,
Rob

Received on Tuesday, 20 December 2016 10:20:01 UTC