removed assert on x-height unit

git-svn-id: svn://10.0.0.236/trunk@9703 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
peterl%netscape.com
1998-09-10 01:18:27 +00:00
parent 0ef705b4ba
commit ab0a6e6dd0
3 changed files with 3 additions and 3 deletions

View File

@@ -436,7 +436,7 @@ nscoord CSSStyleRuleImpl::CalcLength(const nsCSSValue& aValue,
case eCSSUnit_EN:
return (aFont->mFont.size / 2);
case eCSSUnit_XHeight:
NS_NOTYETIMPLEMENTED("x height unit");
// NS_NOTYETIMPLEMENTED("x height unit");
return ((aFont->mFont.size / 3) * 2); // XXX HACK!
case eCSSUnit_CapHeight:
NS_NOTYETIMPLEMENTED("cap height unit");

View File

@@ -436,7 +436,7 @@ nscoord CSSStyleRuleImpl::CalcLength(const nsCSSValue& aValue,
case eCSSUnit_EN:
return (aFont->mFont.size / 2);
case eCSSUnit_XHeight:
NS_NOTYETIMPLEMENTED("x height unit");
// NS_NOTYETIMPLEMENTED("x height unit");
return ((aFont->mFont.size / 3) * 2); // XXX HACK!
case eCSSUnit_CapHeight:
NS_NOTYETIMPLEMENTED("cap height unit");

View File

@@ -436,7 +436,7 @@ nscoord CSSStyleRuleImpl::CalcLength(const nsCSSValue& aValue,
case eCSSUnit_EN:
return (aFont->mFont.size / 2);
case eCSSUnit_XHeight:
NS_NOTYETIMPLEMENTED("x height unit");
// NS_NOTYETIMPLEMENTED("x height unit");
return ((aFont->mFont.size / 3) * 2); // XXX HACK!
case eCSSUnit_CapHeight:
NS_NOTYETIMPLEMENTED("cap height unit");