From ab0a6e6dd0039a1f46cf43e8e30b1c970eefb08f Mon Sep 17 00:00:00 2001 From: "peterl%netscape.com" Date: Thu, 10 Sep 1998 01:18:27 +0000 Subject: [PATCH] removed assert on x-height unit git-svn-id: svn://10.0.0.236/trunk@9703 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/content/html/style/src/nsCSSStyleRule.cpp | 2 +- mozilla/layout/html/style/src/nsCSSStyleRule.cpp | 2 +- mozilla/layout/style/nsCSSStyleRule.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/mozilla/content/html/style/src/nsCSSStyleRule.cpp b/mozilla/content/html/style/src/nsCSSStyleRule.cpp index 3bd6a337810..a89623788f4 100644 --- a/mozilla/content/html/style/src/nsCSSStyleRule.cpp +++ b/mozilla/content/html/style/src/nsCSSStyleRule.cpp @@ -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"); diff --git a/mozilla/layout/html/style/src/nsCSSStyleRule.cpp b/mozilla/layout/html/style/src/nsCSSStyleRule.cpp index 3bd6a337810..a89623788f4 100644 --- a/mozilla/layout/html/style/src/nsCSSStyleRule.cpp +++ b/mozilla/layout/html/style/src/nsCSSStyleRule.cpp @@ -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"); diff --git a/mozilla/layout/style/nsCSSStyleRule.cpp b/mozilla/layout/style/nsCSSStyleRule.cpp index 3bd6a337810..a89623788f4 100644 --- a/mozilla/layout/style/nsCSSStyleRule.cpp +++ b/mozilla/layout/style/nsCSSStyleRule.cpp @@ -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");