This is a patch from nokia's work on the microb. patch: https://garage.maemo.org/svn/browser/mozilla/trunk/microb-engine/microb-engine/debian/patches/310_BUG_915.diff
The only differences between this patch and the one I wrote in bug 915 are some merging (which I also have locally) and the hasParentTD stuff, which I think is wrong (misnamed, and as far as I can tell will just make the patch behave incorrectly for td's but still behave correctly for th's; no idea why the patch author thought that was an improvement.
And please note that my patch in bug 915 is nowhere near ready to be used in a shipping browser.
for reference, the two testcases for which this mess was resolved are here: http://bonsai-www.mozilla.org/cvsblame.cgi?file=mozilla-org%2Fhtml%2Fquality%2Fbrowser%2Fstandards%2Fxhtml%2FAttic%2Fcol_valign_top.xml&rev=&cvsroot=%2Fwww http://bonsai-www.mozilla.org/cvsblame.cgi?file=mozilla-org%2Fhtml%2Fquality%2Fbrowser%2Fstandards%2Fxhtml%2FAttic%2Fcol_align_center.xml&rev=&cvsroot=%2Fwww and yes, while I'm well aware that it wasn't ready, deleting requirements in my employer's process is a lot harder than importing pre-alpha code and marking bugs as "FIXED".