The result of parsing by html5lib for the following fragment is not compatible with the specification.
<table><li><li></li></table>
It is parsed into the following DOM tree.
<li>
<table>
<li>
It should be parse as the following DOM tree.
<li>
<li>
<table>