Index: Source/core/css/parser/CSSPropertyParser.cpp |
diff --git a/Source/core/css/parser/CSSPropertyParser.cpp b/Source/core/css/parser/CSSPropertyParser.cpp |
index a99076711aa7eb8cf65cc37ace0dcc7e05160779..52e994ece0bf8ae55fce783220676b5b3c8adb5c 100644 |
--- a/Source/core/css/parser/CSSPropertyParser.cpp |
+++ b/Source/core/css/parser/CSSPropertyParser.cpp |
@@ -225,6 +225,15 @@ bool CSSPropertyParser::validCalculationUnit(CSSParserValue* value, Units unitfl |
case CalcPercentNumber: |
b = (unitflags & FPercent) && (unitflags & FNumber); |
break; |
+ case CalcAngle: |
+ b = (unitflags & FAngle); |
+ break; |
+ case CalcTime: |
+ b = (unitflags & FTime); |
+ break; |
+ case CalcFrequency: |
+ b = (unitflags & FFrequency); |
+ break; |
case CalcOther: |
break; |
} |