diff --git a/content/html/style/src/nsCSSParser.cpp b/content/html/style/src/nsCSSParser.cpp index f5f205b8315..e417ef5e2ca 100644 --- a/content/html/style/src/nsCSSParser.cpp +++ b/content/html/style/src/nsCSSParser.cpp @@ -2147,6 +2147,7 @@ PRBool CSSParserImpl::ParseProperty(PRInt32& aErrorCode, case PROP_TOP: case PROP_LEFT: case PROP_RIGHT: + return ParseVariant(aErrorCode, aDeclaration, aPropID, VARIANT_AHLP, nsnull, parsed); case PROP_HEIGHT: case PROP_WIDTH: return ParsePositiveVariant(aErrorCode, aDeclaration, aPropID, VARIANT_AHLP, nsnull, parsed); diff --git a/layout/html/style/src/nsCSSParser.cpp b/layout/html/style/src/nsCSSParser.cpp index f5f205b8315..e417ef5e2ca 100644 --- a/layout/html/style/src/nsCSSParser.cpp +++ b/layout/html/style/src/nsCSSParser.cpp @@ -2147,6 +2147,7 @@ PRBool CSSParserImpl::ParseProperty(PRInt32& aErrorCode, case PROP_TOP: case PROP_LEFT: case PROP_RIGHT: + return ParseVariant(aErrorCode, aDeclaration, aPropID, VARIANT_AHLP, nsnull, parsed); case PROP_HEIGHT: case PROP_WIDTH: return ParsePositiveVariant(aErrorCode, aDeclaration, aPropID, VARIANT_AHLP, nsnull, parsed); diff --git a/layout/style/nsCSSParser.cpp b/layout/style/nsCSSParser.cpp index f5f205b8315..e417ef5e2ca 100644 --- a/layout/style/nsCSSParser.cpp +++ b/layout/style/nsCSSParser.cpp @@ -2147,6 +2147,7 @@ PRBool CSSParserImpl::ParseProperty(PRInt32& aErrorCode, case PROP_TOP: case PROP_LEFT: case PROP_RIGHT: + return ParseVariant(aErrorCode, aDeclaration, aPropID, VARIANT_AHLP, nsnull, parsed); case PROP_HEIGHT: case PROP_WIDTH: return ParsePositiveVariant(aErrorCode, aDeclaration, aPropID, VARIANT_AHLP, nsnull, parsed);