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;