mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1028521: Use the nsHTMLReflowMetrics' writing mode passed in from the container in nsMathMLContainerFrame::ReflowChild, not the child frame's. r=jfkthame
This commit is contained in:
parent
333a20ce82
commit
6579381e92
@ -849,7 +849,7 @@ nsMathMLContainerFrame::ReflowChild(nsIFrame* aChildFrame,
|
||||
if (aDesiredSize.BlockStartAscent() == nsHTMLReflowMetrics::ASK_FOR_BASELINE) {
|
||||
// This will be suitable for inline frames, which are wrapped in a block.
|
||||
nscoord ascent;
|
||||
WritingMode wm = aReflowState.GetWritingMode();
|
||||
WritingMode wm = aDesiredSize.GetWritingMode();
|
||||
if (!nsLayoutUtils::GetLastLineBaseline(wm, aChildFrame, &ascent)) {
|
||||
// We don't expect any other block children so just place the frame on
|
||||
// the baseline instead of going through DidReflow() and
|
||||
|
Loading…
Reference in New Issue
Block a user