(See attached test case) When setting a tHead the header doesn't get added to the top of the table but to the bottom. The problem is in nsHTMLTableElement::SetTHead It calls AppendChild instead of inserting it before the first child with insertBefore.
Test case depends on fixing 9213 (tHead property get) first.
cc:ing karnaze. This looks like it's really a tables bug.
In an attempt to get my bug list in order again, marking all the bugs I have currently as ASSIGNED.
Just saw this while scanning my bug list. Fixed it last week.
Verified with 2000-02-02-14.