Revert part of bug 377521 to fix bug 380825 (and add comment). r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@226545 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
d6e7785ed1
commit
d3fb79a11a
@ -2116,7 +2116,9 @@ nsRuleNode::SetFont(nsPresContext* aPresContext, nsStyleContext* aContext,
|
||||
zoom = PR_FALSE;
|
||||
}
|
||||
else if (eCSSUnit_Initial == aFontData.mSize.GetUnit()) {
|
||||
aFont->mSize = defaultVariableFont->size;
|
||||
// The initial value is 'medium', which has magical sizing based on
|
||||
// the generic font family, so do that here too.
|
||||
aFont->mSize = aDefaultFont.size;
|
||||
zoom = PR_TRUE;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user