+ abcd efgh ijkl +
+ ''') + + +@pytest.mark.xfail +def test_max_lines_nested(): + assert_pixels('max_lines_nested', 10, 12, ''' + BBBBBBBBBB + BBBBBBBBBB + BBBBBBBBBB + BBBBBBBBBB + rrrrrrrrrr + rrrrrrrrrr + rrrrrrrrrr + rrrrrrrrrr + BBBBBBBBBB + BBBBBBBBBB + __________ + __________ + ''', ''' + ++ aa a + bb b + cc c + dddd + eeee + ffff + gggg + hhhh +
+ ''') + + +@pytest.mark.xfail +def test_ellipsis_nested(): + assert_pixels('ellipsis_nested', 10, 10, ''' + BBBBBB____ + BBBBBB____ + BBBBBB____ + BBBBBB____ + BBBBBB____ + BBBBBB____ + BBBBBB____ + BBBBBB____ + BBBBBBBB__ + BBBBBBBB__ + ''', ''' + +aaa
+aaa
+aaa
+aaa
+aaa
+aaa
++ abcd efgh ijkl +
+ ''') + html, = page.children + body, = html.children + p1, p2 = body.children + line1, line2 = p1.children + line3, = p2.children + text1, = line1.children + text2, = line2.children + text3, = line3.children + assert text1.text == 'abcd' + assert text2.text == 'efgh' + assert text3.text == 'ijkl' + + +@assert_no_logs +def test_continue(): + page, = render_pages(''' + +