I am completely baffled by this situation. Whenever I adjust the border-width of a table (either dynamically with JavaScript or in Chrome Dev Tools) where border-collapse: collapse;
is set, transitioning from a border width of 1px (#1) to a larger value (#2) and then back to 1px (#3), I encounter a visual defect. Despite #1 and #3 being the same, they appear differently. What could be causing this?
HTML:
<table style="border-collapse: collapse; width: 1px #ddd solid;">
<tbody>
<tr>
<td>
<a href="javascript:void(0);">Crazy Button</a>
</td>
</tr>
</tbody>
</table>