Firefox 3.1 bug (fixed since Gecko/20081008)
:before for element with {table-layout: fixed} causes gaps between table cells

The bug is specific to Firefox 3.1. Firefox 3.0 and earlier versions are not affected with this bug.

The bug exists since Gecko/20080818033342 Minefield/3.1a2pre version. Previous version (Gecko/20080817033619 Minefield/3.1a2pre) was not affected yet.

The bug probably appeared after landing the fix for the bug 238072 (“[GC] support positioned and floated generated content for non-replaced elements”).

Real tables with identical characteristics are not affected. Below are the testcases.

List with {display: table-*} (the bug appears when :before is used)

With :before

Without :before

Real table (the bug does NOT appear)

With :before

Lorem Ipsum Dolor Sit Amet

Without :before

Lorem Ipsum Dolor Sit Amet