| Index: third_party/WebKit/Source/core/css/parser/CSSParserToken.cpp
|
| diff --git a/third_party/WebKit/Source/core/css/parser/CSSParserToken.cpp b/third_party/WebKit/Source/core/css/parser/CSSParserToken.cpp
|
| index caa33c1e86feade1e7188686971286be207ffff9..fb46fac538fd0aa9e37306b5ec8bf08bc20efc81 100644
|
| --- a/third_party/WebKit/Source/core/css/parser/CSSParserToken.cpp
|
| +++ b/third_party/WebKit/Source/core/css/parser/CSSParserToken.cpp
|
| @@ -213,10 +213,8 @@ void CSSParserToken::serialize(StringBuilder& builder) const
|
| serializeIdentifier(value().toString(), builder);
|
| break;
|
| case HashToken:
|
| - // This will always serialize as a hash-token with 'id' type instead of
|
| - // preserving the type of the input.
|
| builder.append('#');
|
| - serializeIdentifier(value().toString(), builder);
|
| + serializeIdentifier(value().toString(), builder, (getHashTokenType() == HashTokenUnrestricted));
|
| break;
|
| case UrlToken:
|
| builder.append("url(");
|
|
|