<?php

namespace Issues;

use Mpdf\Mpdf;

class Issue508Test extends \Mpdf\BaseMpdfTest
{

	public function testHrInTable()
	{
		$html = '<table><hr></table>';

		$this->mpdf->ignore_table_percents = FALSE;

		$this->mpdf->setCompression(false);
		$this->mpdf->WriteHtml($html);

		$out = $this->mpdf->Output('', 'S');
		$this->assertGreaterThan(0, strlen($out));
	}

}
