Changing line 6855 of nsPresShell.cpp to
nsHTMLReflowState reflowState(mPresContext, target, rcx, target == rootFrame ? reflowSize : size);
makes tn's test case pass in xvfb, and makes all the reftest failures go away in xvfb as well, but I'm still getting floods of these assertions:
###!!! ASSERTION: reflow roots must not have visible overflow: 'desiredSize.mOverflowArea == nsRect(nsPoint(0, 0), nsSize(desiredSize.width, desiredSize.height))', file /home/zack/src/mozilla/moz-central/layout/base/nsPresShell.cpp, line 6888 ###!!! ASSERTION: reflow roots should never split: 'status == NS_FRAME_COMPLETE', file /home/zack/src/mozilla/moz-central/layout/base/nsPresShell.cpp, line 6890 ###!!! ASSERTION: reflow state computed incorrect width: 'reflowState.ComputedWidth() == size.width - reflowState.mComputedBorderPadding.LeftRight()', file /home/zack/src/mozilla/moz-central/layout/base/nsPresShell.cpp, line 6870
none of which appear if reftests are run on the normal x server.
Changing line 6855 of nsPresShell.cpp to
nsHTMLReflowState reflowState( mPresContext, target, rcx,
target == rootFrame ? reflowSize : size);
makes tn's test case pass in xvfb, and makes all the reftest failures go away in xvfb as well, but I'm still getting floods of these assertions:
###!!! ASSERTION: reflow roots must not have visible overflow: 'desiredSize. mOverflowArea == nsRect(nsPoint(0, 0), nsSize( desiredSize. width, desiredSize. height) )', file /home/zack/ src/mozilla/ moz-central/ layout/ base/nsPresShel l.cpp, line 6888 src/mozilla/ moz-central/ layout/ base/nsPresShel l.cpp, line 6890 ComputedWidth( ) == size.width - reflowState. mComputedBorder Padding. LeftRight( )', file /home/zack/ src/mozilla/ moz-central/ layout/ base/nsPresShel l.cpp, line 6870
###!!! ASSERTION: reflow roots should never split: 'status == NS_FRAME_COMPLETE', file /home/zack/
###!!! ASSERTION: reflow state computed incorrect width: 'reflowState.
none of which appear if reftests are run on the normal x server.