le><tr><td><custom-element>hello</custom-element></td></tr></table>`;
    const tr = contentDocument.querySelector('tr');
    assert_array_equals(element.takeLog().types(), ['constructed', 'connected']);
    assert_equals(tr.innerHTML, '<td><custom-element>hello</custom-element></td>');

    const table = contentDocument.querySelector('table');
    assert_equals(table.rows.length, 1);
    assert_equals(table.rows[0], tr);
    table.deleteRow(0);
    assert_equals(table.rows.length, 0);
    assert_array_equa