The fact that my patch to bug 229654 regressed the centering in the testcase in bug 229654 (attachment 140880 [details]) suggests that something is broken when the root is inline. Probably the best fix is to fix up the computed style data according to the fixups for the root element in CSS2.1 9.2.4 rather than doing the fixup in ConstructRootFrame.
Created attachment 140920 [details] [diff] [review] patch A little more cleanup of GetUniqueStyleData
Comment on attachment 140920 [details] [diff] [review] patch Could you remove the aPresContext arg of GetUniqueStyleData while you're here? r+sr=bzbarsky with that.
Created attachment 140921 [details] [diff] [review] patch
Fix checked in to trunk, 2004-02-08 22:55/56 -0800.