MDL-46772 core: html_writer::table should respect tr attributes