From 1216b60c2b1ad7a163157a806d694cab504f724a Mon Sep 17 00:00:00 2001 From: "peterl%netscape.com" Date: Sat, 24 Jul 1999 19:00:42 +0000 Subject: [PATCH] added char unit output support git-svn-id: svn://10.0.0.236/trunk@40988 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/content/html/style/src/nsCSSValue.cpp | 1 + mozilla/layout/html/style/src/nsCSSValue.cpp | 1 + mozilla/layout/style/nsCSSValue.cpp | 1 + 3 files changed, 3 insertions(+) diff --git a/mozilla/content/html/style/src/nsCSSValue.cpp b/mozilla/content/html/style/src/nsCSSValue.cpp index ff3367f3ae3..b60ec885953 100644 --- a/mozilla/content/html/style/src/nsCSSValue.cpp +++ b/mozilla/content/html/style/src/nsCSSValue.cpp @@ -355,6 +355,7 @@ void nsCSSValue::AppendToString(nsString& aBuffer, nsCSSProperty aPropID) const case eCSSUnit_EN: aBuffer.Append("en"); break; case eCSSUnit_XHeight: aBuffer.Append("ex"); break; case eCSSUnit_CapHeight: aBuffer.Append("cap"); break; + case eCSSUnit_Char: aBuffer.Append("ch"); break; case eCSSUnit_Pixel: aBuffer.Append("px"); break; case eCSSUnit_Degree: aBuffer.Append("deg"); break; case eCSSUnit_Grad: aBuffer.Append("grad"); break; diff --git a/mozilla/layout/html/style/src/nsCSSValue.cpp b/mozilla/layout/html/style/src/nsCSSValue.cpp index ff3367f3ae3..b60ec885953 100644 --- a/mozilla/layout/html/style/src/nsCSSValue.cpp +++ b/mozilla/layout/html/style/src/nsCSSValue.cpp @@ -355,6 +355,7 @@ void nsCSSValue::AppendToString(nsString& aBuffer, nsCSSProperty aPropID) const case eCSSUnit_EN: aBuffer.Append("en"); break; case eCSSUnit_XHeight: aBuffer.Append("ex"); break; case eCSSUnit_CapHeight: aBuffer.Append("cap"); break; + case eCSSUnit_Char: aBuffer.Append("ch"); break; case eCSSUnit_Pixel: aBuffer.Append("px"); break; case eCSSUnit_Degree: aBuffer.Append("deg"); break; case eCSSUnit_Grad: aBuffer.Append("grad"); break; diff --git a/mozilla/layout/style/nsCSSValue.cpp b/mozilla/layout/style/nsCSSValue.cpp index ff3367f3ae3..b60ec885953 100644 --- a/mozilla/layout/style/nsCSSValue.cpp +++ b/mozilla/layout/style/nsCSSValue.cpp @@ -355,6 +355,7 @@ void nsCSSValue::AppendToString(nsString& aBuffer, nsCSSProperty aPropID) const case eCSSUnit_EN: aBuffer.Append("en"); break; case eCSSUnit_XHeight: aBuffer.Append("ex"); break; case eCSSUnit_CapHeight: aBuffer.Append("cap"); break; + case eCSSUnit_Char: aBuffer.Append("ch"); break; case eCSSUnit_Pixel: aBuffer.Append("px"); break; case eCSSUnit_Degree: aBuffer.Append("deg"); break; case eCSSUnit_Grad: aBuffer.Append("grad"); break;