mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-14 02:31:59 +00:00
Beware of copy-paste!
This commit is contained in:
parent
18844bd37a
commit
163d1d2283
@ -114,7 +114,7 @@ nsMathMLmspaceFrame::Init(nsIPresContext* aPresContext,
|
||||
if (NS_CONTENT_ATTR_HAS_VALUE == GetAttribute(mContent, mPresentationData.mstyle,
|
||||
nsMathMLAtoms::depth_, value)) {
|
||||
if (ParseNumericValue(value, cssValue) && cssValue.IsLengthUnit()) {
|
||||
mHeight = CalcLength(aPresContext, mStyleContext, cssValue);
|
||||
mDepth = CalcLength(aPresContext, mStyleContext, cssValue);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user