<?php

namespace Issues;

class Issue1765Test extends \Mpdf\BaseMpdfTest
{

	public function testTableWithNotValidRowspan()
	{
		$html = <<<HTML
<table>
	<tbody>
		<tr>
			<td></td>
			<td></td>
		</tr>
	</tbody>
	<tfoot>
		<tr>
			<td rowspan="2"></td>
		</tr>
	</tfoot>
</table>
HTML;

		$this->mpdf->WriteHTML($html);

		$output = $this->mpdf->OutputBinaryData();

		$this->assertStringStartsWith('%PDF-', $output);
	}

}
