Index: Source/core/css/parser/CSSParserValues.cpp |
diff --git a/Source/core/css/parser/CSSParserValues.cpp b/Source/core/css/parser/CSSParserValues.cpp |
index eddad768cacdc3f3a8b0514c3c5636fb095d16e2..a9e236d42fe4d9510ee1563cf2edaba767a4238a 100644 |
--- a/Source/core/css/parser/CSSParserValues.cpp |
+++ b/Source/core/css/parser/CSSParserValues.cpp |
@@ -179,15 +179,6 @@ CSSParserValueList::CSSParserValueList(CSSParserTokenRange range, bool& usesRemU |
break; |
} |
case HashToken: |
- // FIXME: Move this logic to the property parser |
- // This check prevents us from allowing #red and similar |
- for (size_t i = 0; i < token.value().length(); ++i) { |
- if (!isASCIIHexDigit(token.value()[i])) { |
- destroyAndClear(); |
- return; |
- } |
- } |
- // fallthrough |
case StringToken: |
case UrlToken: { |
value.id = CSSValueInvalid; |