Re: [csswg-drafts] [css-break] table orphans and widows (#367)

This could help when printing a dynamically generated table, in case there should be at least 1 data row together with a footer row(non-repeating footer), on the last printed page(think invoices). Let's say each printed page can have a maximum of n data rows(non-multiline, to simplify the example). 
An ideal layout would look something like the following(as opposed to the footer row being left alone on the last page):

```
Printed page 1
-------------
<thead>[abc]</thead>
<tbody>[n data rows]</tbody>
-------------

Printed page 2
-------------
<thead>[abc]</thead>
<tbody>[n-1 data rows(that one-and last- data row should flow to the last printed page)]</tbody>
-------------   

Printed page 3
-------------
<thead>[abc]</thead>
<tbody>
  <tr><td>[1 data row(left from printed page 2)]</td></tr>
  <tr><td>[simulated footer here, preceded/accompanied by at least 1 data row]</td></tr>
</tbody>
------------- 
```  

-- 
GitHub Notification of comment by kinkoazc
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/367#issuecomment-589295933 using your GitHub account

Received on Thursday, 20 February 2020 20:35:42 UTC