When a table-* block lacks a table parent, and thus an anonymous table block is generated around it, the anonymous block should be inline-table if the parent of the original table-* block is inline.
Right now, the anonymous table box generated in the linked test is a block-level table.
RenderInline::addChildIgnoringContinuation() is making an anonymous block parent for the anonymous table, which is an issue.
See also bug 15365. There is a patch attached to the bug that partly solves the issue. However our layout is slightly wrong thus we don't fully pass the test.