W3C home > Mailing lists > Public > www-style@w3.org > January 2017

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

From: François REMY <francois.remy.dev@outlook.com>
Date: Fri, 6 Jan 2017 21:07:49 +0000
To: François REMY <francois.remy.dev@outlook.com>, "Robert Hogan" <robhogan@gmail.com>, www-style list <www-style@w3.org>
Message-ID: <AM2PR04MB0818D5B75117A0FDF1E7A621A5630@AM2PR04MB0818.eurprd04.prod.outlook.com>
>> I'm reading it to say that as long as repeating the header and footer leaves room for at least part of a tbody row in the fragmentainer then they can both remain. If it doesn't, but dropping the repeated footer allows room for at least part of a tbody row, then drop the repeated footer but keep the repeated header.
>
> Correct that is what browsers seems to do today.

Actually I had a look at our source code, and what Edge and Firefox do is easier than that even, we just repeat the footer/header if they occupy less than 25% of the fragmentainer height. Combined they can therefore never account for more than half of the fragmentainer height, which means that it should be enough to fit a row for sure.

I will put that in the spec, that seems reasonable to me.
Received on Friday, 6 January 2017 21:08:30 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:09:06 UTC