Bug 1231239: latin inline 'sideways'-ed text inside a line box whose dominant baseline is central

Expected result: c) and d) rectangles should be identical.

c) <div>M<span id="sideways">S<br />W</span>X</div>

MS
W
X

d) <div>M<span id="mixed">I<br />X</span>D</div>

MI
X
D