RE: [css-tables] repeating table headers and footers

Francois Remy <[email protected]>
Newsgroups gmane.comp.web.css.general
Message-ID <BN3PR0301MB088358D544BEEBDF6F18F24ED6500@BN3PR0301MB0883.namprd03.prod.outlook.com>
Thanks for the heads up!

After reading the thread, I am not totally sure what the break-inside:avoid toggle you implemented does in practice.

Are you saying that if the table starts at the very bottom of the page, and that the header of the table does not fit entirely, has “break-inside: allow” and is therefore broken into two pieces, you won’t be able to repeat it in the next pages because it won’t form one single box?

If I understood correctly, I infer the two changes you want to see in the spec are:


-          In the HTML to CSS mapping, add “thead,tfoot { break-inside:avoid }”

-          In the fragmentation prose, allow not to repeat the header if it consists in more than one fragment

What about the cases where the table is defined by using “div { display: table-header-group }” ? Wouldn’t it be easier to just add an advisement saying that break-inside always computes to avoid when display computes to table-header-group and table-footer-group?

This seems to be the Edge behavior in this case, right?


From: Robert Hogan [mailto:[email protected]]
Sent: Friday 10 June 2016 11:16
To: Florian Rivoal <[email protected]>; Francois Remy <[email protected]>
Cc: Greg Whitworth <[email protected]>; CSS public list <[email protected]>
Subject: Re: [css-tables] repeating table headers and footers


Just FYI, we're adding repeating table header/footer support for printed pages to Blink.

For more info, see https://bugs.chromium.org/p/chromium/issues/detail?id=24826

We're using break-inside: avoid; on the thead as a way of specifying it in the user agent's style.


On Tue, Feb 23, 2016 at 9:30 AM Florian Rivoal <[email protected]<mailto:[email protected]>> wrote:

> On Feb 23, 2016, at 03:00, Francois Remy <[email protected]<mailto:[email protected]>> wrote:
>
>>> From what I have seen, browsers do not repeat headers/footers in
>>> multi-columns.
>>> http://codepen.io/FremyCompany/pen/YwbOMM
>>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.