This test checks that break-before set on blocks in table-cells works correctly in various conditions: when headers/footers shall be repeated at page breaks or not, in the separate or collapsing border model, etc.

1. Before the table Cell 1.1 Cell 1.1 Cell 1.2 Cell 1.2 Cell 2.1 Cell 2.1 Cell 2.2 Cell 2.2 Cell 3.1 Cell 3.1 Cell 3.2 Cell 3.2 After the table 2. Before the table Header 1.1 Header 1.2 Footer 1.1 Footer 1.2 Cell 1.1 Cell 1.1 Cell 1.2 Cell 1.2 Cell 2.1 Cell 2.1 Cell 2.2 Cell 2.2 Cell 3.1 Cell 3.1 Cell 3.2 Cell 3.2 After the table 3. Before the table Header 1.1 Header 1.2 Footer 1.1 Footer 1.2 Cell 1.1 Cell 1.1 Cell 1.2 Cell 1.2 Cell 2.1 Cell 2.1 Cell 2.2 Cell 2.2 Cell 3.1 Cell 3.1 Cell 3.2 Cell 3.2 After the table 4. Before the table Header 1.1 Header 1.2 Footer 1.1 Footer 1.2 Cell 1.1 Cell 1.1 Cell 1.2 Cell 1.2 Cell 2.1 Cell 2.1 Cell 2.2 Cell 2.2 Cell 3.1 Cell 3.1 Cell 3.2 Cell 3.2 After the table 5. Before the table Header 1.1 Header 1.2 Footer 1.1 Footer 1.2 Cell 1.1 Cell 1.1 Cell 1.2 Cell 1.2 Cell 2.1 Cell 2.1 Cell 2.2 Cell 2.2 Cell 3.1 Cell 3.1 Cell 3.2 Cell 3.2 After the table 6. Before the table Cell 1.1 Cell 1.1 Cell 1.2 Cell 1.2 Cell 2.1 Cell 2.1 Cell 2.2 Cell 2.2 Cell 3.1 Cell 3.1 Cell 3.2 Cell 3.2 After the table 7. Before the table Header 1.1 Header 1.2 Footer 1.1 Footer 1.2 Cell 1.1 Cell 1.1 Cell 1.2 Cell 1.2 Cell 2.1 Cell 2.1 Cell 2.2 Cell 2.2 Cell 3.1 Cell 3.1 Cell 3.2 Cell 3.2 After the table 8. Before the table Header 1.1 Header 1.2 Footer 1.1 Footer 1.2 Cell 1.1 Cell 1.1 Cell 1.2 Cell 1.2 Cell 2.1 Cell 2.1 Cell 2.2 Cell 2.2 Cell 3.1 Cell 3.1 Cell 3.2 Cell 3.2 After the table