Firefox Self Shrinking Tables and Divs

This effect is seen in Firefox 2.0.0.8 (Gecko 1.8). When a floated right div is contained by either a table or div with display:table without any width and anchor links are present, then if certain links are selected, instead of the link going to the selected url, the table or div with display:table shrinks and the contained float appearing later in the source will drop below the other contained float earlier in the source. After this the links work as they should. Also increasing or decreasing text size will also trigger the bug. In this test the divs floated left have a blue background and the divs floated right have a pink background. The only fix is to give the div or table containing the float or floats a width other than auto.

Examples with Div and display:table

This is a div with display:table

Self Shrinking Link

1 Self Shrinking Link
2 Self Shrinking Link
This is a div with display:table

Link with no effect

1 Self Shrinking Link
2 Self Shrinking Link
This is a div with display:table

Link with no effect

1 Link with no effect
2 Link with no effect
This is a div with display:table

Self Shrinking Link

1 Self Shrinking Link
2 Self Shrinking Link
This is a div with display:table

Link with no effect

Self Shrinking Link
Self Shrinking Link

Example with Table

This is a table

Self Shrinking Link