mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-03 18:47:53 +00:00
Deal with parent frame that doesn't map content. b=373882 r+sr=rbs
This commit is contained in:
parent
133f98922d
commit
d583a6fdcd
@ -1386,6 +1386,9 @@ nsMathMLContainerFrame::FixInterFrameSpacing(nsHTMLReflowMetrics& aDesiredSize)
|
||||
{
|
||||
nscoord gap = 0;
|
||||
nsIContent* parentContent = mParent->GetContent();
|
||||
if (NS_UNLIKELY(!parentContent)) {
|
||||
return 0;
|
||||
}
|
||||
// XXXldb This should check namespaces too.
|
||||
nsIAtom *parentTag = parentContent->Tag();
|
||||
if (parentTag == nsGkAtoms::math ||
|
||||
|
Loading…
Reference in New Issue
Block a user