openhtmltopdf
openhtmltopdf copied to clipboard
Wrong overflow direction
Given this html code:
<table>
<tbody>
<tr>
<td style="border:1px solid black;">
<div style="width:40px;white-space:nowrap;float:left;" align="center">
11111
</div>
</td>
<td style="border:1px solid black;">
<div style="width:40px;white-space:nowrap;float:left" align="center">
2222222222222222
</div>
</td>
</tr>
</tbody>
</table>
When using openhtmltopdf, it overflows on both left and right direction, which it shouldn't because of the float:left in the div.
openhtmltopdf sandbox
w3schools sandbox